Skip to content
trending

Guides

Machine Learning: Programs Trained by Examples, Not Rules

Machine learning explained without formulas: three types, how it relates to AI and language models, and four places where it fails in practice.

By 3 min read
Machine Learning: Programs Trained by Examples, Not Rules

👁 117 reads

Machine learning is a way of building programs where you don’t write rules - you show examples instead. Rather than explaining to a computer how to recognize a photo of a cat, you give it ten thousand photos labeled “cat” and ten thousand labeled “not cat,” and it derives the rule itself. You can’t read that rule like code afterward, and that’s both the source of all the power of this approach and all its problems.

Three Types Worth Distinguishing

Supervised learning. The data has answers: photos with labels, emails marked as spam, apartments with prices. The model learns to predict the answer for new cases. This is the vast majority of business applications.

Unsupervised learning. There’s no answer, just a dataset. The model looks for structure in it: groups similar customers, detects unusual transactions. You use it when you don’t know in advance what you’re looking for.

Reinforcement learning. The model acts, gets a reward or penalty, and searches for a way to maximize the reward. This is how it learns to play games, control systems, and, in simplified terms, how today’s language models are fine-tuned to respond helpfully instead of just correctly.

How This Relates to AI and ChatGPT

The relationship is nested: artificial intelligence is a broad field, machine learning is one approach within it, deep learning is a variant of machine learning based on networks with many layers, and the language models behind today’s chatbots are an application of deep learning. So when someone says “it’s AI,” they usually mean machine learning, and most often its deep variant. I wrote a broader introduction to the whole field in the article on artificial intelligence.

Where It Fails: Things Invisible in Presentations

Models inherit data biases. If there was inequality in historical credit decisions, the model will learn it and reproduce it, only faster and under the guise of numerical objectivity.

High accuracy can be an illusion. With a phenomenon occurring once in a thousand cases, a model that always answers “no” achieves 99.9% accuracy while being completely useless. That’s why for rare events you look at metrics other than accuracy alone.

The world changes, the model doesn’t. A solution trained on data from two years ago quietly loses effectiveness when customer behavior or the market changes. Nothing signals this on its own - you have to measure it.

You don’t know why. For decisions affecting people, like credit or hiring, regulations increasingly require explaining the result. This can be harder than building the model itself.

Google · Your sourcesQuantslant higher in your Google - one clickAdd to preferred sources →

Where to Start If You Want to Understand This

Not with mathematics, but with data. Take a spreadsheet with something you know and try to predict one column based on the others. You’ll immediately see what’s most important in this field: that data quality determines the outcome more than the choice of method, and most of the work is cleaning, not modeling. Our AI dictionary will help you learn concepts, and for experiments without installing anything, try Google AI Studio or Replit.

Kinetyra

// read next

More on this from QUANTSLANT

Piotr Olszewski

Editor and publisher · Quantslant

I edit and publish Quantslant. AI tools help with research, drafts and translation; choosing topics, running the tests, checking facts and the decision to publish are mine, and so is the responsibility for what appears here.

read nextCodex: OpenAI’s AI Agent That Takes Tasks, Not Code Linesai toolsCodex: OpenAI’s AI Agent That Takes Tasks, Not Code LinesCodex is OpenAI's coding agent that takes a task, works on your repository, runs tests, and delivers changes for review. How it works and where it fits.

Most read

  1. 1Best AI Video Generator Apps for Your Phone (2026)
  2. 2Claude Opus 5.5 Motion Graphics: 60s Showreel from One Prompt
  3. 3Wan 2.2 on RTX 4090: timings, VRAM and four test clips
// site map

This page in other languages1

Quantslant in numbers 1,423posts in archive22news from the last 7 days18video models in the observatory
🎬 AI Video Benchmarks: Higgsfield DoP vs OpenAI Sora • Higgsfield vs Runway Gen-3 • AI Video Credit Calculator
× ‹ enlarge ›