liveBook · Manning

Weak learner

A weak learner is a predictive model that performs only modestly better than chance or a simple baseline and can contribute to a stronger ensemble.

How 3 Manning books explain it

Grokking Machine Learning

A weak learner is a predictive model that performs only modestly better than chance but can contribute to a strong learner when combined with other weak learners.

How it is used
Uses individual predictive models as components of ensemble methods for classification and regression.
How deep it goes
Works through random sampling, mistake-focused training, residual fitting, voting, and additive predictions using small decision trees.
Examples
Illustrates shallow trees on spam emails, weighted classifiers on two-class points, and residual-fitting trees on app engagement data.
What you can do after
Apply it via Scikit-Learn ensemble classifiers and regressors, then inspect how multiple trees contribute to predictions.

Read how Grokking Machine Learning explains weak learner →

Ensemble Methods for Machine Learning

A weak learner is a simple predictive model that performs only slightly better than random guessing.

How it is used
Combines simple base estimators sequentially to build stronger boosting ensembles.
How deep it goes
Defines weak learners, contrasts them with strong learners, and traces their weighted training and combination in AdaBoost.
Examples
Uses depth-1 decision stumps, weighted misclassified points, a three-stump ensemble, and a make_moons classification data set.
What you can do after
Build it from scratch as a weighted AdaBoost ensemble of decision stumps and evaluate its prediction error.

Read how Ensemble Methods for Machine Learning explains weak learner →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A predictive model that performs only slightly better than a simple baseline and is combined with other models in an ensemble.

How it is used
Deploys simple predictive models as components of averaging, bagging, AdaBoost, and gradient-boosting ensembles.
How deep it goes
Explains weak learners through bias, variance, sequential correction, and weighting, but does not derive their mathematics.
Examples
Uses linear regression, k-nearest neighbors, decision trees, AdaBoost, and XGBoost’s n_estimators parameter as concrete examples.
What you can do after
Apply via XGBoost by balancing the number of weak learners, learning rate, predictive performance, and training time.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains weak learner →

Related concepts

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.