Perceptron
Repeat until convergence:
For t = 1 ... n
- y′ = sign(x_t⋅θ_)
- If y′≠yt Then θ_=θ_+ytx_t, Else leave θ_ unchanged.
Kernel form of the perceptron
- Definition: for any x_, define g(x)=∑nj=1αjyjK(x_j,x_) where K(x_j,x_)=ϕ(x_j)⋅ϕ(x_)
- Repeat until convergence:
- For t = 1 ... n
- y' = sign(g(x_t)
- If y′≠yt Then αt=αt+1
No comments :
Post a Comment