I want to implement perceptron with python and ı use following equations, but how can ı set bias and how to update it.
You can click the links below to see the formulas.
f(x) and σ(·) is a custom activation function
where x is a D dimensional input vector, w is a D dimensional weight vector and b is a scalar
The classification rule for the classifier
I use back propagation algorithm to train perceptron