The hyperplane

The hyperplane can be considered as the first brick to be employed when building a support vector machine.

Have you ever played with one of those tanks full of coloured solid plastic balls? Yeah, it actually is a game for children, but you should at least know what I am talking about.

OK, let's perform some mental experiments with one of those tanks. First of all, let's imagine it being filled only with red and yellow balls. We take the empty tank, we first fill half of it with the yellow ones and then with the red ones. They don't mix up since we fill the tank carefully, and in the end we should have something similar to the following:   

Let's imagine now that we take a really big blade and insert it into the tank from one ...

Get R Data Mining now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.