January 2019
Intermediate to advanced
294 pages
6h 43m
English
Many of you will have guessed it right. We use hyperplanes when it comes to more than 3D. We will define it using a bit of mathematics.
A linear equation looks like this: y = ax + b has got two variables, x and y, and a y-intercept, which is b. If we rename y as x2 and x as x1, the equation comes out as x2=ax1 + b which implies ax1 - x2 + b=0. If we define 2D vectors as x= (x1,x2) and w=(a,-1) and if we make use of the dot product, then the equation becomes w.x + b = 0.
So, a hyperplane is a set of points that satisfies the preceding equation. But how do we classify with the help of hyperplane?
We define a hypothesis function h:
h(xi) = +1 if w.xi + b ≥ 0
-1 if w.xi + b < 0
This could be equivalent ...
Read now
Unlock full access