you can see the following graph showing the training progress using the error metricsingle layer neural networks in this examplewe are creating single layer neural network that consists of independent neurons acting on input data to produce the output note that we are using the text file named neural_simple txt as our input import the useful packages as shownimport numpy as np import matplotlib pyplot as plt import neurolab as nl load the dataset as followsinput_data np loadtxt("/users/admin/neural_simple txt'the following is the data we are going to use note that in this datafirst two columns are the features and last two columns are the labels array([[ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]