A simple perceptron for machine learning.