Learning random patters by a Perceptron

A neural network (perceptron) with 100 input units is trained on random patterns. The number of patterns can be chosen in the text window. The projection to the plane spanned by the weight vector of the perceptron and a random vector is shown.