brainspy.utils.performance.accuracy#
File for training a perceptron after the signal of a Processor class or one of its children.
Functions
|
To evaluate the accuracy of the Perceptron algorithm on the input data ( which is the outut of the DNPU or DNPU architecture ) based on the inputs and target values provided. |
|
To calculate the accuracy of the device on a binary classification task. |
To get a default configuration of the node of a perceptron. |
|
|
To initialize the results of the accuracy test and the results of the Perceptron algorithm. |
|
Plot the results of the perceptron algorithm. |
|
To train the Perceptron obtain a set of weights w that accurately classifies each instance in our training set. |
|
To calculate the standard normal distribution from the input data. |