July 2017
Intermediate to advanced
254 pages
6h 29m
English
The perceptron learning algorithm begins by setting the weights to zero, or to small random values. It then predicts the class for a training instance. The perceptron is an error-driven learning algorithm; if the prediction is correct, the algorithm continues to the next instance. If the prediction is incorrect, the algorithm updates the weights. More formally, the update rule is given by the following:
For each training instance, the value of the parameter for each feature is incremented by α(dj - yj(t)) xj,i, where dj is the true class for instance j, yj(t) is the predicted class for instance j, xj,i is ...
Read now
Unlock full access