💡  Machine Learning (ML)

Machine Learning (ML)#

Algorithms that learn patterns from data rather than being explicitly programmed.

Important

✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.

What it is#

Machine learning (ML) is the branch of AI in which computers learn patterns from data rather than following hand-written rules. You supply examples, the model learns the relationship between inputs (features) and outputs (labels), and once trained it predicts on new, unseen data.

The core idea#

Formally, ML fits a function

\[y = f(X) + \varepsilon,\]

where \(X\) are the input features, \(y\) the output, \(f\) the function learned from data, and \(\varepsilon\) irreducible noise. Learning means estimating \(f\).

The kinds of learning#

Supervised learning uses labelled data — regression for continuous targets (house price), classification for categories (spam or not). Unsupervised learning works on unlabelled data — clustering (customer segmentation) and dimensionality reduction (PCA, embeddings). Semi-supervised mixes a little labelled with much unlabelled data (costly medical labels). Reinforcement learning has an agent learn from rewards by acting in an environment. And self-supervised learning predicts part of the input from the rest (masked words) — the engine behind modern LLMs.

Workflow and an example#

The lifecycle is collect → clean → choose a model → train → evaluate → deploy → monitor and retrain. Train a model on thousands of houses — 1,000 sqft and 3 rooms sold for $250,000 — and it learns that price rises with size and rooms, so a new 1,200 sqft, 4-room house is predicted at roughly $300,000. ML matters because it automates pattern discovery at a scale and complexity beyond hand-coded rules.


Theme: AI & ML Concepts  ·  All terminology



See also

Source article Adapted (context, re-expressed) in our own words from: Machine Learning (ML) (insightful-data-lab.com).

Tags: purpose: reference topic: terminology level: beginner