LyraLearn AI Learning Platform
Exams
← Module 19 Β· Machine Learning Foundations
🎧 Listen

The ML Landscape

Before LLMs, "AI in production" almost always meant machine learning: algorithms that learn a function from data instead of being explicitly programmed. Exams (AI-900 especially) and architect interviews still test this vocabulary hard, because most enterprise AI workloads β€” fraud flags, demand forecasts, document routing β€” are classical ML problems, not chat problems.

A three-panel map of the machine learning paradigms: supervised learning mapping labeled examples to predictions, unsupervised learning grouping unlabeled points into clusters, and reinforcement learning as an agent-reward loop.

The three learning paradigms

The three core task types

Exam questions love "which task type is this?" Map them by the shape of the output:

  1. Classification β€” predict a category: spam/not-spam, approve/deny/refer, which of 12 departments should handle this ticket. Output is a discrete class (binary or multiclass).
  2. Regression β€” predict a number: next quarter's call volume, a property valuation, time-to-resolution in hours. Output is continuous.
  3. Clustering β€” group similar items with no predefined categories. Unsupervised by definition: you don't tell it the groups; it finds them.

Quick test: "will this customer churn?" is classification; "how much will they spend?" is regression; "what natural segments exist in our customers?" is clustering.

Where deep learning and LLMs fit

Deep learning is not a fourth paradigm β€” it's a family of models (neural networks with many layers) used within those paradigms, dominant wherever the input is unstructured: images, audio, free text. Large language models are deep learning taken to an extreme: transformers trained with self-supervision on huge text corpora, then fine-tuned. They are still probabilistic predictors β€” the landscape from Module 1 applies unchanged.

The architect's takeaway: LLMs did not replace this landscape; they sit inside it. A tabular fraud model is still a supervised classifier, and β€” as the next lessons show β€” often the cheaper, faster, more explainable choice. LyraLearn itself pairs both: classical retrieval ranking feeds a generative model, each doing the job it's structurally suited for.

🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.