Linear classifier
A linear classifier assigns classes based on a linear function of the input features.
Build AI Drug Discovery Pipelines
Linear classification assigns discrete classes using a threshold on a linear combination of input features.
- How it is used
- Uses molecular fingerprints to classify compounds by biological activity, such as hERG channel blocking.
- How deep it goes
- Defines weighted signals, thresholds, decision boundaries, training, and evaluation, while deferring SGD internals to later treatment.
- Examples
- Demonstrates hERG blocker prediction, a 0.964 training accuracy, and polynomially transformed features for nonlinearly separable data.
- What you can do after
- Apply it via Scikit-Learn to train classifiers, generate predictions, and evaluate performance on held-out data.
Read how Build AI Drug Discovery Pipelines explains linear classifier →
Grokking Machine Learning, Second Edition
A classifier whose decision is determined by a linear function of its inputs.
- How it is used
- Uses lines or planes to classify inputs and serves as a building block for neural networks.
- How deep it goes
- Explains geometric boundaries and classifier composition, but stops short of detailed parameter-learning mechanics.
- Examples
- Uses career happiness, family happiness, two lines, and an AND operator to illustrate combined classification.
- What you can do after
- Evaluate how simple linear classifiers combine into neural networks and yield nonlinear classifiers.
Read how Grokking Machine Learning, Second Edition explains linear classifier →
Also covered in
What to know first
- linear regressionLinear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- classifierA classifier is a predictive model that assigns an input to one or more discrete classes or categories.
Related concepts
- linear regressioncontrasts with · Linear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- classifierkind of · A classifier is a predictive model that assigns an input to one or more discrete classes or categories.
- nonlinear classifierproduces · A classifier whose decision boundary cannot be represented by a single linear or affine function of the input features.
- perceptronincludes · A perceptron is a single-layer computational model and linear classifier that combines weighted inputs with a bias and applies a threshold or activation rule.
Questions about linear classifier
What is linear classifier?
A linear classifier assigns classes based on a linear function of the input features.
Which Manning books explain linear classifier?
Build AI Drug Discovery Pipelines and Grokking Machine Learning, Second Edition.
What should I know before learning linear classifier?
Manning books that teach linear classifier usually introduce linear regression and classifier first.
What is the difference between linear classifier and linear regression?
A linear classifier assigns classes based on a linear function of the input features. Linear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
What kinds of linear classifier are there?
Kinds of linear classifier include perceptron.
What is linear classifier a kind of?
Linear classifier is a kind of classifier. A classifier is a predictive model that assigns an input to one or more discrete classes or categories.
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.

