Find a course

Machine Learning Fundamentals glossary

37 terms you will meet in the free Machine Learning Fundamentals course, each explained in one or two sentences.

A

AUC
Area under the ROC curve; 0.5 is random guessing and 1.0 is perfect ranking.

B

Bias-variance trade-off
The tension between errors from overly simple assumptions (bias) and errors from sensitivity to the particular training sample (variance).

C

Classification
A supervised task that predicts a category.
Clustering
An unsupervised task that groups similar data points together.
Confusion matrix
A table of true positives, false positives, false negatives and true negatives.
Cross-validation
Estimating performance by training and validating on several different splits of the data.

D

Data drift
A change over time in the data a deployed model sees, which can degrade its performance.
Data leakage
When information that would not be available at prediction time, often about the target, slips into training and inflates results.
Decision tree
A model that makes predictions by asking a sequence of yes/no questions about features.

E

Ensemble
A model that combines many models, such as a random forest or gradient boosting.

F

F1 score
The harmonic mean of precision and recall.
Feature
An input variable used by a model, such as age or the number of rooms in a house.

G

Gini impurity
A measure of how mixed the classes in a node are: 1 minus the sum of squared class proportions.
Gradient descent
An optimization method that repeatedly moves parameters a small step in the direction that most reduces the loss.

H

Hyperparameter
A setting chosen before training, such as the learning rate, tree depth or k in k-nearest neighbors.

K

k-means
A clustering algorithm that alternates between assigning points to the nearest centroid and moving centroids to the mean of their points.
k-nearest neighbors (kNN)
A method that predicts from the labels of the k most similar training examples.

L

Label (target)
The value a supervised model learns to predict.
Learning rate
The size of each gradient descent step.
Logistic regression
A classification model that passes a weighted sum through the sigmoid function to output a probability.
Loss function
A function that measures how wrong a model's predictions are; training tries to minimize it.

M

Mean squared error (MSE)
The average of the squared differences between predictions and actual values.

O

One-hot encoding
Representing a category as a set of 0/1 columns, one per possible value.
Overfitting
Learning noise in the training data so that performance on new data suffers.

P

Parameter
A value the model learns from data, such as a weight or bias.
Precision
TP ÷ (TP + FP): the share of positive predictions that are correct.
Principal component analysis (PCA)
A technique that finds new axes capturing the most variance, used to reduce the number of features.

R

Recall
TP ÷ (TP + FN): the share of actual positives the model finds.
Regression
A supervised task that predicts a continuous number.
Regularization
Adding a penalty for model complexity, such as large weights, to reduce overfitting.
ROC curve
A plot of true positive rate against false positive rate across all classification thresholds.

S

Sigmoid function
The function 1 ÷ (1 + e−z), which maps any number to a value between 0 and 1.
Standardization
Rescaling a feature to mean 0 and standard deviation 1 using z = (x − mean) ÷ standard deviation.

T

Test set
Data held back until the end to estimate performance on unseen data.
Training set
The data a model learns its parameters from.

U

Underfitting
Using a model too simple to capture the real pattern in the data.

V

Validation set
Data used during development to compare models and tune hyperparameters.

Put these terms to work

The Machine Learning Fundamentals course uses every one of these terms in short lessons with instant-feedback questions. It takes about 170 minutes and ends with a free certificate of completion.

Start the course Course overview