What you’ll learn
- Explain training versus inference
- Recognize supervised and unsupervised learning
- Connect an example dataset to a prediction
Examples shape a model
In supervised learning, examples include a target such as a category or a number. Training adjusts a model so its outputs better match those targets according to a chosen objective. Unsupervised methods look for structure without the same labelled target. Reinforcement learning uses feedback associated with actions and outcomes. These are useful families of methods, not a checklist that every AI product implements.
Using a model is a separate stage
Inference means applying a trained model to an input. Asking a chatbot a question usually runs inference; it does not necessarily retrain the underlying model. Product settings may separately control stored history, retrieval or later use of data. Do not assume that a model permanently learns your instruction simply because it responded to it once.
A small model you can inspect
The prediction lab below counts words that follow a phrase in a tiny editable set of sentences. Adding examples changes the counts. This is a transparent frequency model, not a neural network or a real chatbot. Its limitations are the lesson: with narrow examples, possible outputs stay narrow. There is no hidden world knowledge behind the display and no external AI service is called.
PUT IT INTO PRACTICE
Your small experiment
In the lab, add two sentences beginning with “we grow”. Watch the continuation counts change. Then try a phrase absent from every example.
A tiny prediction model
Everything here runs in your browser. Use fictional examples. This exercise does not send data to a model, generate paid output or execute your plan.
Training changes a model; inference applies it. The examples and objective strongly influence what it can do.
Make the idea yours.
Choose an answer for every question. You can review explanations and try again.
Answer both questions to check your understanding.Learning checks are for practice. This is not an accredited qualification or professional certification.Sources & further reading
Use these references to check the ideas and explore further. Examples and practice questions are original course material.
Reviewed November 16, 2026. General education, not professional advice or an accredited qualification.