Whether add bias or not in a perceptron In some places, perceptron is described as having added bias, while in some places, bias is not added.
Which one is right for you?
Suppose bias as a threshold. Using threshold, your activation function moves across the $x$ axis which may get complicated. Consequently, people usually use the bias term and always centre the activation function which is the step function at zero. There is nothing wrong in both cases.