O'Reilly logo

Python Machine Learning By Example - Second Edition by Yuxi Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Case 2 – determining the optimal hyperplane

Look at the following example, hyperplane C is the preferred one as it enables the maximum sum of the distance between the nearest data point in the positive side to itself and the distance between the nearest data point in the negative side to itself:

The nearest point(s) in the positive side can constitute a hyperplane parallel to the decision hyperplane, which we call a Positive hyperplane; on the other hand, the nearest point(s) in the negative side constitute the Negative hyperplane. The perpendicular distance between the positive and negative hyperplanes is called the Margin, whose value equates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required