Models in the world / 4 of 6

AI, ML, and deep learning

8 minOpening your notebook…

What you’ll learn

  • Explain the main idea of “AI, ML, and deep learning” in your own words.
  • Trace a concrete example and identify the assumptions behind it.
  • Apply the principle in a practice problem and recognize a common failure.

The idea, intuitively

AI is the broad field. Machine learning is an approach in which behavior is learned from data. Deep learning is a family of machine-learning methods using layered neural networks. The nested relationship is useful, but it does not tell you which tool best solves a particular problem.

Start by describing an input, an output, and a useful success criterion in your own words. You do not need programming experience for this school. Keep a distinction between the model, the data it learned from, and the application that uses its output. This distinction will make later topics much easier to reason about.

Under the hood

Classical ML often uses manually chosen features such as transaction totals. Deep networks can learn intermediate representations such as edges, shapes, or semantic features. Both require an objective, data, and validation; neither eliminates careful problem formulation.

A useful caution

More layers do not automatically mean better generalization.

A worked example

With a small tabular dataset, a tree model may be a stronger baseline than a large neural network. Compare quality, latency, and explanation needs on held-out data.

How to use this way of thinking

When considering a new AI use case, write down a non-AI baseline, identify a realistic failure, and decide how to measure it. If the system cannot express uncertainty or offer a useful fallback, improve the surrounding workflow before adding a more complex model.

Try it yourself

Choose a baseline for predicting house prices from 200 rows. Explain your choice.

Key takeaways

  • Deep learning is a subset of machine learning.
  • More layers do not automatically mean better generalization.
  • Check the assumptions with a small example before applying this idea to a larger system.

Check your understanding

0/2 checked

Use feedback to learn. Quiz scores and lesson completion are tracked separately.

1Which relationship is correct?
2True or false: A larger neural network is always the best baseline for a small tabular dataset.
Go to lesson completion

Further reading

Original papers and reference material for this school. External resources may be in English and require internet access.

Google: Introduction to machine learning (opens a new tab)

Finish this lesson

Mark this lesson complete when you’re ready to continue.

Start with a question

Introduction to AIAI FoundationsA brief history of AIAI FoundationsTypes of AIAI FoundationsAI, ML, and deep learningAI FoundationsUnderstanding generative AIAI FoundationsEthics, limitations, and responsibilityAI FoundationsLinear algebra for learning systemsMathematics for AIVectors, matrices, and similarityMathematics for AICalculus: measuring changeMathematics for AIDerivatives and gradientsMathematics for AIProbability and statisticsMathematics for AIOptimization and objectivesMathematics for AI
K to open · Escape to close