官术网_书友最值得收藏!

Hyperplanes 

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. 

Remember,  x.y = x1y1 + x2y2.

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 to the following:

h(xi)= sign(w.xi + b) 

It could also be equivalent to the following:

sign(w.xi) if (x0=1 and w0=b)

What it means is that it will use the position of x with respect to the hyperplane to predict a value for y. A data point on one side of the hyperplane gets a classification and a data point on other side of hyperplane gets another class.

Because it uses the equation of a hyperplane that happens to be the linear combination of the values, it is called a linear classifier. The shape of hyperplane is by w as it has elements as b and a responsible for the shape.

主站蜘蛛池模板: 莱西市| 湟源县| 阿拉善右旗| 金堂县| 四子王旗| 新河县| 遂昌县| 明光市| 读书| 芒康县| 苍溪县| 十堰市| 绍兴市| 青河县| 安顺市| 怀化市| 巩留县| 阳西县| 屏东县| 宁海县| 民丰县| 赤壁市| 荥经县| 云梦县| 汝阳县| 长治市| 静安区| 招远市| 晴隆县| 普陀区| 金山区| 永定县| 德保县| 华安县| 自贡市| 巴彦淖尔市| 东源县| 连州市| 高尔夫| 岐山县| 五指山市|