Here is source.
Here we assume readers has basic knowledge of Linear Perceptron. Thus we directly head for how to solve perceptron's weight and bias.
Activation Function, normally is Logistic:
Perceptron will generate an output y for input vector x.
Normally, the error between actual output and expected output would be defined as:
It also can be defined as
The process of machine learning is minimize the error. Thus the process requires fixing weights of perceptrons.
For fixing weights, the training process uses
Use some trick for this formula:
Sometimes derivatives of activation function are always non-negative, thus can be omitted. Then the solution becomes: