Implementation of the basic Winnow algorithm (Littlestone, 1988).