Example of perceptron and adaline neural networks.