What AI, ML and generative AI actually are
Explain AI, ML, deep learning and generative AI without mixing them up.
The hierarchy
Artificial intelligence is the broad goal of making computer systems perform tasks that normally require human-like perception, reasoning, language or decision-making. AI is not one algorithm. A rule-based fraud engine, a route planner and a language model can all be called AI even though they work differently.
Machine learning is one way to build AI. Instead of writing every rule by hand, we give an algorithm examples and let it learn a mathematical relationship. Deep learning is a family of machine-learning methods built from many-layered neural networks. Generative AI uses learned patterns to create new text, images, audio, video or code rather than only assigning a label or predicting a number.
Model, training and inference
A model is a parameterized mathematical function: it accepts inputs and produces outputs. Training is the process of adjusting the parameters so outputs become more useful on known examples. Inference is using the trained model on new inputs. Training can take hours or weeks; an inference request often needs to finish in milliseconds or seconds.
A model does not contain human understanding in a literal sense. It captures statistical structure. That distinction matters in enterprise systems because fluent output can still be wrong, incomplete, biased or unsupported.
Prediction versus generation
Traditional predictive ML commonly answers questions such as: Is this transaction fraudulent? How many units will sell? Which customers may leave? Generative AI answers questions such as: Draft a reply, summarize a document, generate code or create an image.
Most useful products combine both. A support assistant may retrieve records with ordinary software, classify intent with an ML model, generate a response with an LLM and apply deterministic rules before anything reaches the customer.
KEY TERMS
A hospital appointment assistant
A patient asks to reschedule an appointment.
- 1
Software identifies the patient and loads appointments.
- 2
An intent model recognizes a rescheduling request.
- 3
Rules determine which appointments are eligible.
- 4
An LLM explains the available choices in natural language.
- 5
The booking API performs the approved change and writes an audit event.
The LLM is one component inside a controlled software system; it is not the entire product.
Check the mental model
Every answer appears in this chapter. You are not expected to research anything else.
Write one sentence defining AI.
Add a narrower definition of ML.
Name one training activity and one inference activity in the example.
Practise exactly what was taught
Beginner · recognitionYOUR GOAL
Tell ordinary software, predictive ML and generative AI apart using one familiar product.
What you need before starting
Only the definitions and hospital-assistant example from this chapter.
Start with this supplied prompt or template
Use a shopping app. Do not invent its technical architecture.
Do it step by step
- 1
Write ‘ordinary software’ and add one action controlled by a fixed rule, such as calculating a cart total.
- 2
Write ‘predictive ML’ and add one prediction, such as recommending a product.
- 3
Write ‘generative AI’ and add one created output, such as drafting a product description.
- 4
For each answer, copy one phrase from the chapter that supports your choice.
I’m stuck — show a hint
Ask whether the component follows a programmed rule, predicts a label or number, or creates new content.
Show the answer guide
A valid answer is: cart calculation = ordinary software; a recommendation score = predictive ML; a newly drafted description = generative AI. Real products may use only one or two of these.
Optional stretch challenge — not required yet
Choose another everyday product and perform the same three-way classification.
Your notes and internal recap
Everything required for this chapter is included above. Source documents were used to verify the material, but leaving SkillPath is optional.