The big picture / 1 of 6

Introduction to AI

8 minOpening your notebook…

What you’ll learn

  • Explain the main idea of “Introduction to AI” 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

Artificial intelligence is the study of systems that perform tasks such as recognizing patterns, planning, and generating language. Start with the task, not the technology: what input is available, what decision is needed, and how will you know the result is useful? A simple rule can sometimes solve the problem more reliably than a learned model.

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

A model maps inputs to outputs. Training adjusts that mapping using data; inference applies it to a new input. Accuracy on examples seen during training does not establish reliability on new cases. Separate development data from an evaluation set that represents actual use.

A useful caution

A confident output can still be wrong. Evaluate the task and its failure costs.

A worked example

A spam filter takes an email and returns a spam score. Suppose it sends a message to spam when the score meets or exceeds 0.70. A newsletter scoring 0.82 is filtered, while a receipt scoring 0.62 stays in the inbox.

If you lower the threshold to 0.60, both messages are filtered. That may catch more spam and also hide more legitimate mail. Compare both types of error on messages held out from training.

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

Design an AI task for sorting customer messages. Specify input, output, and a failure worth measuring.

Key takeaways

  • Inference applies an existing model to an input.
  • A confident output can still be wrong. Evaluate the task and its failure costs.
  • 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.

1What distinguishes inference from training?
2True or false: A confident prediction can still be incorrect.
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