In general perceptron algorithm is used to classify the misclassiffied data into the classified data using the weight updation process
The above python code is to classify the breast cancer data set using libraries numpy,pandas,matplotlib and sklearn