K
K
Konstantin Golik2021-07-11 11:52:53
Support vector machine
Konstantin Golik, 2021-07-11 11:52:53

Why is SVM sensitive to feature scales?

Hey!
I am reading a machine learning book - "Applied Machine Learning with Scikit-learn and Tensorflow". I came across the following sidebar:

60eab0e699502305885219.png

Question: why in the case shown in the left picture is the widest strip close to the horizontal, if we can draw exactly the same strip as in the right picture and it will be wider than the horizontal one? How does this even work in the context of feature scaling? And shouldn’t it go through like this, if it’s a large margin classification, then in theory on both images the border should be like on the right

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmshar, 2021-07-11
@dmshar

You can say for a long time that scaling is a non-linear transformation, explain - but everything is already written in the book. Therefore, it is better to try writing a scaling function with pens and see how it transforms your points (at least those on the graph), and how it transforms the points of the dividing line.
Draw a graph, and then all questions will disappear by themselves, without abstruse explanations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question