liveBook · Manning

Machine learning

As explained in Grokking Statistics

The field and set of methods for learning predictive or descriptive patterns from data.

Machine learning finds patterns in observations and data to produce useful answers, especially predictions. It overlaps heavily with statistics but emphasizes tuning algorithms, predictive performance, and results over complete model explainability. section 1.5 section 1.8

A practical data-driven workflow connects questions to predictions:

  • Form a hypothesis about a pattern or relationship. section 1.8
  • Gather representative data rather than trusting a convenient slice. section 1.8
  • Fit a model that captures relationships in the data. section 1.8
  • Evaluate performance on unseen data to check generalization. section 1.5 section 1.8

The unseen-data check

Train a predictive model with labeled data, then test it on a labeled dataset it has never seen. Strong performance on new data matters more than memorizing the training examples, but a highly accurate black box may still be difficult to explain or audit for bias. section 1.5 section 1.8

How Grokking Statistics covers it

How deep it goes
Contrasts prediction, tuning, and black-box performance with statistical explanation without detailing algorithm internals.
Examples
Uses labeled training and test datasets, regression, model validation, and examples involving bias and generalization.
What it assumes
Assumes statistics for validation, interpretation, and algorithm design while emphasizing practical prediction.
What you can do after
Evaluate predictive models on unseen labeled data and reason about generalization, performance, explainability, and bias.
How it connects
Connects machine learning to statistics, predictive modeling, regression, model validation, interpretability, and explainability.

Also explained in

Compare how 42 books explain machine learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Statistics. The section links point to the parts of the book it draws on.