[关闭]
@nrailgun 2015-09-24T17:18:03.000000Z 字数 756 阅读 1460

感知机

机器学习


Perceptron model

Let f(x) denotes perceptron:

f(x)=sign(wx+b),

where wRn is weight, bR is bias, and
sign(x)={+1,1,x0x<0.

Perceptron learning strategy

The loss function of perceptron sign(wx+b) is defined as

L(w,b)=xiMyi(wxi+b),

where M is the set of incorrectly classified points.

Perceptron learning algorithm

Gradient of loss L(w,b) is given by

wL(w,b)=xiMyixi,

and
bL(w,b)=xiMyi.

The selection of initial value of w and b does effect the solution. There are many solutions. If the dataset is not linearly separable, perceptrons will fail to converge.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注