AI & ML Quick Path Progress

All cheat sheets

Part 1 cheat sheet: the big picture

What AI is, how a project runs, and the words everyone uses.

AI, ML, deep learning, generative AI

  • Artificial intelligence: any computer system doing a task that needs human judgement.
  • Machine learning: the system learns its rules from examples.
  • Deep learning: machine learning with many-layered neural networks.
  • Generative AI: deep learning that creates new text, images, audio or code. A large language model is one kind.
Four circles, each inside the larger one. The outer circle is artificial intelligence, then machine learning, then deep learning, and the smallest is generative AI. A list on the right says what each one is: any computer system doing a task that needs human judgement; a system that learns its rules from examples; machine learning with many-layered neural networks; and deep learning that creates new text, images, audio or code, of which a large language model is one kind. Artificial intelligence Machine learning Deep learning Generative AI Artificial intelligence Any computer system doing a task that needs human judgement. Machine learning Learns its rules from examples instead of being given them. Deep learning Machine learning with many-layered neural networks. Generative AI Deep learning that creates new text, images, audio or code. An LLM is one kind.
Each family is a smaller part of the one around it. A large language model sits in the smallest circle.

Rules or learning

  • Hand-written rules are easy to explain but break when the world changes.
  • A learned model finds the rules from examples and can be updated with new ones.
  • Pick the simplest tool that fits the problem.
Two panels. On the left, hand-written rules: a person writes an IF rule that marks an email containing the words free prize as spam; spammers change the words, so the rule stops working and a person must write a new one. On the right, machine learning: many emails already marked spam or not spam are given to the computer, which learns the rules from the examples and updates them when new ones arrive. Hand-written rules A person writes every rule. IF the email contains "free prize" THEN spam Spammers change the words, so the rule stops working and a person has to write a new one. Machine learning The computer finds the rules. email: spam email: not spam email: spam email: not spam Thousands of emails already marked spam or not spam rules learned from the examples and updated when new ones arrive. The spam example from the lesson. The email texts are made up.
The same spam example, two ways: a person writes the rule, or the computer learns it from marked examples.

Four ways machines learn

  • Supervised: examples with the right answer (labels).
  • Unsupervised: examples without answers; finds groups or oddities.
  • Self-supervised: hides part of the data and learns to fill it in (how language models learn).
  • Reinforcement: tries actions and learns from rewards.

The project loop

  • Goal, data, baseline, model, honest check, release, then monitor and go round again.
  • Always beat a simple baseline first, and choose the metric before you train.
  • Bad results usually send you back to the data or the goal.
Six boxes in a row joined by arrows: goal, data, baseline, model, check and release. A return arrow runs from the end back to the start through a box that says monitor, learn, and go round again. Goal what to improve Data collect, clean Baseline a simple first try Model train and tune Check test honestly Release ship it safely Monitor, learn, and go round again An AI project is a loop, not a straight line Each stop can send you back: bad results usually mean going back to the data or the goal.
An AI project is a loop, not a straight line: bad results usually send you back to the data or the goal.

Tools you need

  • Python for most machine learning libraries; .NET (C#) for many production back ends.
  • Every lesson has a Python and a .NET (C#) example.
  • A normal laptop is enough to start.

Honesty rules of this guide

  • Numbers in examples are real runs or labelled made-up.
  • Code that was not run is labelled.
  • Quizzes are self-checks and study times are estimates.