In fact, you simply set the threshold when you are not using bias. Otherwise, the threshold is 0.
Remember that one neuron divides your input space into a hyperplane. Good?
Now imagine a neuron with 2 inputs X=[x1, x2] , 2 weighing W=[w1, w2] and threshold TH . The equation shows how this neuron works:
x1.w1 + x2.w2 = TH
this is equal to:
x1.w1 + x2.w2 - 1.TH = 0
Ie, this is your hyperplane equation that divides the input space.
Note that this neuron works if you manually set the threshold. The solution is to change TH to a different weight, therefore:
x1.w1 + x2.w2 - 1.w0 = 0
If the term 1.w0 is your BIAS. Now you can still draw a plane in your input space without manually setting a threshold value (i.e., the Threshold value is always 0). But, if you set the threshold to a different value, the weights will simply adapt to adjusting the equation, i.e. Weights ( INCLUDING BIAS ) absorb threshold effects.
source share