init perceptron