liveBook · Manning

Classification score

A classification score is a real-valued output representing a classifier’s support, confidence, or signed strength for a predicted class.

How 2 Manning books explain it

Grokking Machine Learning

A signed numerical output of a linear classifier whose sign indicates the predicted class and whose magnitude indicates distance from the decision boundary.

How it is used
Turns weighted features and a bias into a signed value used to predict one of two classes.
How deep it goes
Works from word-count arithmetic to weighted sums, boundary geometry and error severity, without deriving a distance formula.
Examples
Scores happy and sad sentences by word counts and compares differently sized mistakes on a sad example.
What you can do after
Apply it to calculate a linear classifier’s score, make a binary prediction and recognize when mistake counts hide error severity.

Read how Grokking Machine Learning explains classification score →

Grokking Machine Learning, Second Edition

A real-valued classifier output, often computed as a weighted combination of input features, that represents support for a class before conversion to a prediction or probability.

How it is used
Supports perceptron predictions by combining feature evidence before assigning a binary class.
How deep it goes
Derives weighted sums and bias, then implements score, prediction, and score-based perceptron error.
Examples
Uses alien sentences counted by word, two competing classifiers, and a crack-and-doink threshold example.
What you can do after
Build it from scratch as a weighted feature sum with bias, then convert it into a perceptron or logistic prediction.

Read how Grokking Machine Learning, Second Edition explains classification score →

What to know first

Related concepts

Questions about classification score

What is classification score?

A classification score is a real-valued output representing a classifier’s support, confidence, or signed strength for a predicted class.

Which Manning books explain classification score?

Grokking Machine Learning and Grokking Machine Learning, Second Edition.

What should I know before learning classification score?

Manning books that teach classification score usually introduce inner product, input, linear regression and gradient descent first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.