Content deleted Content added
No edit summary |
|||
Line 15:
* If an example is correctly classified, do nothing.
* If an example is predicted to be 1 but the correct result was 0, all of the weights involved in the mistake are set to zero (demotion step).
* If an example is predicted to be 0 but the correct result was 1, all of the weights involved in the mistake are multiplied by <math>\alpha</math> (promotion step).
A good value for <math>\alpha</math> is 2.
Variations are also used. For example, Winnow2 is the same as Winnow1 except that in the demotion step, the weights are multiplied by <math>\frac{1}{\alpha}</math> instead of being set to 0.
==References==
|