concept threshold in category machine learning
appears as: threshold, thresholds, threshold

This is an excerpt from Manning's book Grokking Machine Learning.
A perceptron is a classification model which consists of a set of weights, or scores, one for every feature, and a threshold. The perceptron multiplies each weight by its corresponding score, and adds them, obtaining a score. If this score is greater than or equal to the threshold, then the perceptron returns a ‘yes’, or a ‘true’, or the value 1. If it is smaller, then it returns a ‘no’, or a ‘false’, or the value 0. In our case, the features are the words ‘aack’ and ‘beep’, the weights are the scores for each word (+1 and -1), and the threshold is 0.
Both of these notations are used in the literature, but the one in the right is more common.
Right: The same perceptron with a bias unit. The value of the bias comes in as the weight of the bias node.
Left: A perceptron with a threshold. The value of the threshold goes inside the node.
Figure 8.14.
![]()