visualize and perceptron