MLEnglish

What is ML and the different types of learning?

Learn about what machine learning actually is, and the two different ways a model can learn from data

BeginnerSupervised LearningUnsupervised LearningFundamentals2026-02-22· 4 min read

Machine Learning

Machine Learning is fundamentally the science of getting computers to learn without being explicitly programmed.

In other words, the computer can learn things without a human coder explicitly programming them.

One of the biggest goals of machine learning is to achieve something called "AGI", or Artificial General Intelligence, which is basically human-like intelligence achieved by a computer. Some really interesting research is being done here in the field of "organoid intelligence," where they grow neurons on top of a microelectrode array and make them do various tasks, like play Pong, which it could learn to do in less than 5 minutes! If you're interested in this, totally check out the work done by Cortical Labs!

Now, there are 2 different types of machine learning: Supervised and Unsupervised.

Supervised Learning

  • This is the more commonly used application and where the most advancements are being made right now
  • The goal here is to learn input to output mappings, or to learn by being given the "right answers"
  • For example, imagine giving a student a sheet with questions and answers, and then giving them a new one with only the questions(now they would probably just memorize the questions rather than actually learn, but that's a topic for later, called Overfitting).

There are two types of supervised learning: Regression and Classification.

Regression (Type 1)

  • Predict a number from infinitely possible outputs
  • For example, predicting the price of a house that's 2000 square feet (you could totally add more features)

Classification (Type 2)

  • Predicts categories, a small number of possible outcomes
  • For example, categorizing tumors as either benign or malignant, so putting them in a category

Basically, you give questions and answers, and train a machine to either predict a number or a category for different questions.

Unsupervised Learning

  • The goal here is to find something interesting in unlabeled data
  • The data comes with inputs x, but no output y's, so just the data, not the answers
  • For example, imagine giving a student a hundred questions and having them find out what different subjects are being tested

There are three types of unsupervised learning: Clustering, Anomaly Detection, and Dimensionality Reduction.

Clustering (Type 1)

  • Group similar data points together
  • For example, group articles about pandas together and show them as a cluster

Anomaly Detection (Type 2)

  • Find unusual data points in data
  • For example, really useful for fraud detection in finance

Dimensionality Reduction (Type 3)

  • Compress data to use fewer numbers
  • For example, to compress datasets and work with less data, like PCA (we'll talk about this later!)

This is one of the core ideas behind ML, and really where all the roads diverge from.

Jargon Decoder

Every bolded term above, translated in one place.

AGI (Artificial General Intelligence)
A hypothetical AI system with human-like general intelligence, able to learn and reason across any task, not just the narrow ones it was trained on.
Supervised Learning
Training a model on examples that already have the correct answer attached, so it learns the mapping from input to output.
Unsupervised Learning
Training a model on data with no correct-answer labels attached, so it has to find structure or patterns on its own.
Regression
A supervised learning task where the model predicts a number from a continuous range, like a price or a temperature.
Classification
A supervised learning task where the model predicts which of a small, fixed set of categories something belongs to.
Overfitting
When a model memorizes the exact examples it was trained on instead of learning the general pattern. Basically, it aces the practice test and then bombs the real one.
Clustering
An unsupervised task that groups similar data points together without being told in advance what the groups should be.
Anomaly Detection
An unsupervised task that flags data points that look unusual compared to the rest of the dataset.
Dimensionality Reduction
Compressing data down to fewer numbers or variables while keeping as much of the important information as possible.

I got into AI research by cold emailing, and I teach students how to do the same.