Write the interface of Perceptron roughly.