liveBook · Manning

Machine learning

As explained in Data Storytelling with Altair and AI

Machine learning is a subfield of artificial intelligence in which computers learn patterns from examples or data to improve performance and make predictions or decisions.

Machine learning is a subfield of artificial intelligence that enables computers to learn from examples, discover patterns, and improve predictions or decisions without receiving every instruction line by line. section 4.1.1 section 4.1.2

From outfit descriptions to predictions

To assess whether an outfit is fashionable, collect and label outfit descriptions and fashion elements. Training uses these examples to learn patterns, after which the model predicts whether new outfits are fashionable. section 4.1.2

A typical supervised-learning workflow includes:

  • Define the problem and collect labeled data. section 4.1.2
  • Extract input features representing the attributes the model will analyze. section 4.1.2
  • Train an algorithm to map features to labels while reducing prediction errors. section 4.1.2
  • Use the trained model to classify or predict unseen instances. section 4.1.2

Supervised learning uses labeled examples, while unsupervised learning identifies structure without the same labeled-output setup. Common supervised applications include image classification, sentiment analysis, spam detection, and speech recognition. section 4.1.2

Figure 4.1 The main subfields of AI, with a focus on generative AI
figure

Use the hierarchy to place machine learning beneath artificial intelligence and above deep learning and generative AI. section 4.1.1

Figure 4.2 An example of a classification model
figure

Use the classification model figure to visualize assigning new instances to learned categories. section 4.1.2

Figure 4.3 An example of a clustering model
figure

Use the clustering model figure to visualize structure discovered through unsupervised learning. section 4.1.2

How Data Storytelling with Altair and AI covers it

How deep it goes
Explains labeled data, feature extraction, training, parameter optimization, and prediction, without developing implementation details.
Examples
Uses fashion assessment, image classification, sentiment analysis, spam detection, and speech recognition as concrete applications.
What it assumes
Builds from zero by defining artificial intelligence, machine learning, deep learning, and generative AI as related fields.
What you can do after
Apply machine learning by preparing labeled examples, extracting features, training a model, and predicting unseen cases.
How it connects
Connects artificial intelligence with deep learning, generative AI, supervised learning, unsupervised learning, classification, and clustering.

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 Data Storytelling with Altair and AI. The section links point to the parts of the book it draws on.