perceptron based classifier perceptrons are the building blocks of ann if you want to know more about perceptronyou can follow the linkrvised_learning htm following is stepwise execution of the python code for building simple neural network perceptron based classifierimport the necessary packages as shownimport matplotlib pyplot as plt import neurolab as nl enter the input values note that it is an example of supervised learninghence you will have to provide target values too input [[ ][ ][ ][ ]target [[ ][ ][ ][ ]create the network with inputs and neuronnet nl net newp([[ ],[ ]] nowtrain the network herewe are using delta rule for training error_progress net train(inputtargetepochs= show= lr= nowvisualize the output and plot the graphplt figure(plt plot(error_progressplt xlabel('number of epochs'plt ylabel('training error'plt grid(plt show(