LyraLearn AI Learning Platform
Exams
← Module 13 Β· The Vocabulary
🎧 Listen

Vocabulary: Classical Machine Learning

Supervised learning β€” training on historical rows where the outcome (label) is known, so the model learns to predict outcomes for new rows. Lives in: classical ML; the family covering most government prediction problems. Say it: "Five years of history means the labels already exist β€” that's supervised learning, not anomaly detection."

Unsupervised learning β€” finding structure in data with no labels: clustering, anomaly detection. Lives in: classical ML. Say it: "No labels? Then we're in unsupervised territory β€” grouping or flagging the unusual, not predicting a known outcome."

Label β€” the known outcome attached to a historical record: which applications needed specialist review, how long each took. Lives in: supervised learning; the thing you're teaching the model to predict. Say it: "The label quality caps the model quality β€” mislabeled history trains a confidently wrong model."

Feature β€” an input variable the model uses: application type, unit count, submission date. Lives in: the model's input side. Say it: "Feature engineering β€” choosing and shaping the inputs β€” usually moves accuracy more than model choice."

Regression β€” predicting a number: processing days, expected workload. Lives in: supervised learning. Say it: "Predict-how-long is regression; linear regression is the explainable baseline, boosted trees the workhorse."

Classification β€” predicting a category: needs-review or not, complete or incomplete. Lives in: supervised learning. Say it: "Flagging applications is binary classification β€” and then precision and recall are the whole conversation."

Gradient-boosted trees β€” ensembles of decision trees (XGBoost, LightGBM); the workhorse for tabular data, routinely beating neural networks on rows-and-columns problems, cheap to train and run. Lives in: classical ML model choice. Say it: "For tabular data I reach for gradient-boosted trees before anything neural β€” better accuracy, millisecond inference, explainable."

Clustering β€” grouping records by similarity without labels. Lives in: unsupervised learning. Say it: "Clustering our failure records could reveal families of root causes we haven't named yet."

Anomaly detection β€” learning "normal" and flagging departures; needs no labels. Lives in: unsupervised learning; monitoring's ML upgrade. Say it: "A job that succeeds in two seconds when it normally takes five minutes is an anomaly β€” success status can lie, baselines don't."

Train/test split β€” evaluating only on data the model never saw; for time-series, hold out the most recent period, because you predict the future from the past. Lives in: evaluation discipline; the first question to any vendor. Say it: "Show me performance on a held-out recent period β€” accuracy on training data just measures memorization."

Precision β€” of the items the model flagged, the fraction that were actually right. Your staff's wasted-work rate. Lives in: classification evaluation. Say it: "Low precision means analysts chase false alarms until they stop trusting the tool."

Recall β€” of the items that truly should be flagged, the fraction the model caught. Your risk-exposure rate. Lives in: classification evaluation; precision's counterpart. Say it: "For an eligibility system the recall-side failure is the dangerous one β€” so we tune to keep false qualifications near zero and accept more 'needs human review.'"

False positive / false negative β€” flagged-but-wrong versus missed-but-real. Decide which is worse before building; it determines every threshold. Lives in: evaluation and risk framing. Say it: "Step one is naming the worst failure direction β€” the metrics follow from that, not the other way around."

Overfitting β€” a model that memorized its training data and fails on new data; the disease train/test splits exist to detect. Lives in: evaluation discipline. Say it: "Great training accuracy plus poor test accuracy equals overfitting β€” it learned the past, not the pattern."

Explainability / feature importance β€” the ability to say why the model decided: which features drove a prediction. Trees give this nearly free; deep models mostly don't. Lives in: responsible AI meets model choice; decisive in government. Say it: "When the auditor asks why application X was flagged, a tree model gives feature importances; that's often the deciding argument for classical ML."

Baseline β€” the simplest credible approach (a rule, an average, linear regression) that any fancier model must beat to justify its complexity. Lives in: evaluation discipline; the honesty check. Say it: "First question for any proposal: what's the baseline, and by how much does the model beat it?"

Rules vs. ML vs. LLM β€” the three tiers β€” deterministic rules where logic is known; classical ML where patterns hide in structured history; LLMs where language lives. Lives in: architecture judgment β€” the decision rule above all tool choices. Say it: "Rules where the logic is known, classical ML for structured history, LLMs for language β€” and a lot of 'is it over the threshold' logic is honestly just a rule."

🧠 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.