Winnow (algorithm): Difference between revisions

Content deleted Content added
m minor cleanup
there was a mistake in the definition
Line 16:
* 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 not involved in the mistake are multiplied by <math>\alpha</math> (promotion step).
 
A good value for <math>\alpha</math> is 2.