aNet.ai
0day streak0XP · Lv 1

Glossary

106 machine learning terms in plain language, each linked to the topic that teaches it.

106 terms

A

Accuracy
Fraction of predictions that are correct. Misleading when classes are imbalanced.
8. Model Evaluation
Activation function
Non-linear function applied to a neuron's weighted sum, such as ReLU, sigmoid or tanh.
15. Introductory Neural Networks
Adam
Optimiser that adapts each parameter's step size using running averages of gradients and squared gradients.
15. Introductory Neural Networks
AUC
Area under the ROC curve: probability a random positive is ranked above a random negative. 0.5 is random.
8. Model Evaluation

B

Backpropagation
Computing gradients of the loss for every weight by applying the chain rule backwards through the network.
15. Introductory Neural Networks
Bagging
Training models on bootstrap samples and averaging them to reduce variance.
10. Decision Trees & Ensemble Learning
Batch size
Number of examples used to compute one gradient update.
4. Learning as an Optimization Problem
Bayes' theorem
P(H|E) = P(E|H)·P(H) / P(E): updating a prior belief with evidence.
2. Mathematical Foundations
Bias (statistical)
Systematic error from wrong model assumptions; high bias causes underfitting.
3. Learning & Generalization
Bias–variance trade-off
Simpler models have more bias and less variance; complex ones the reverse. Test error is minimised in between.
3. Learning & Generalization
Boltzmann machine
Energy-based network of stochastic binary units whose configurations follow the Boltzmann distribution.
16. Advanced Topics
Boosting
Building an ensemble sequentially, each model correcting the errors of the previous ones.
10. Decision Trees & Ensemble Learning
Bootstrap sample
A sample of n examples drawn with replacement from a dataset of size n.
10. Decision Trees & Ensemble Learning

C

Classification
Predicting a discrete category.
1. Introduction to Machine Learning
Clustering
Grouping unlabelled examples so that similar ones end up together.
13. Unsupervised Learning
Confusion matrix
Table of predicted vs. actual classes: TP, FP, TN, FN for binary problems.
8. Model Evaluation
Convolution
Sliding a small learnable filter over an input and summing element-wise products to build a feature map.
15. Introductory Neural Networks
Covariance
How two variables vary together; positive when they rise together.
2. Mathematical Foundations
Cross-entropy
Loss for probabilistic classification: −log of the probability assigned to the true class.
7. Classification
Cross-validation
Rotating which fold is held out for validation and averaging the scores.
8. Model Evaluation
Curse of dimensionality
Data sparsity and distance concentration that make high-dimensional learning hard.
14. Dimensionality Reduction

D

DBSCAN
Density-based clustering that finds clusters of any shape and marks low-density points as noise.
13. Unsupervised Learning
Decision boundary
The surface in feature space where a classifier's prediction changes class.
7. Classification
Decision tree
Model that predicts through a sequence of feature-threshold questions ending in leaves.
10. Decision Trees & Ensemble Learning
Deep learning
Machine learning with neural networks of many layers.
1. Introduction to Machine Learning
Dimensionality reduction
Representing data with fewer features while keeping most of its information.
14. Dimensionality Reduction
Discriminator
GAN network that tries to tell real samples from generated ones.
16. Advanced Topics
Divergence
Non-negative measure of difference between distributions, zero only if they are equal; need not be symmetric.
5. Similarity / Divergence Measures
Dropout
Regularisation that randomly switches off neurons during training.
15. Introductory Neural Networks

E

Early stopping
Stopping training when validation loss stops improving.
4. Learning as an Optimization Problem
Eigenvector
A vector whose direction a matrix leaves unchanged: Av = λv.
14. Dimensionality Reduction
Empirical risk
Average loss over the training sample.
4. Learning as an Optimization Problem
Entropy
Measure of class mixing in a node: −Σ p log₂ p. Zero when pure.
10. Decision Trees & Ensemble Learning
Epoch
One full pass over the training data.
4. Learning as an Optimization Problem
Euclidean distance
Straight-line (L2) distance: square root of the sum of squared coordinate differences.
2. Mathematical Foundations
Expected risk
Average loss over the true data distribution — what we really want to minimise.
4. Learning as an Optimization Problem

F

F-divergence
Family of divergences built from a convex f with f(1) = 0 applied to the density ratio.
5. Similarity / Divergence Measures
F1-score
Harmonic mean of precision and recall.
8. Model Evaluation
Feature
An input variable describing an example (a column in the dataset).
1. Introduction to Machine Learning
Feature selection
Keeping only a useful subset of the original features.
3. Learning & Generalization
Federated learning
Training a shared model on decentralised data; only model updates leave the clients.
17. Distributed ML

G

GAN
Generative adversarial network: a generator and a discriminator trained against each other.
16. Advanced Topics
Generalization
Performing well on new data from the same distribution as the training data.
3. Learning & Generalization
Generator
GAN network that turns random noise into synthetic samples.
16. Advanced Topics
Gini impurity
1 − Σ p²: alternative to entropy for measuring node impurity.
10. Decision Trees & Ensemble Learning
Gradient
Vector of partial derivatives; points in the direction of steepest increase.
4. Learning as an Optimization Problem
Gradient descent
Iteratively moving parameters against the gradient to reduce the loss.
4. Learning as an Optimization Problem

H

Hellinger distance
Bounded, symmetric distance between distributions based on square roots of densities.
5. Similarity / Divergence Measures
Hinge loss
max(0, 1 − y·f(x)): the SVM loss, zero beyond the margin.
11. Support Vector Machines
Hyperparameter
A setting chosen before training (learning rate, k, depth, λ), tuned on validation data.
1. Introduction to Machine Learning

I

Information gain
Reduction in entropy achieved by a split.
10. Decision Trees & Ensemble Learning
Inner product
Sum of element-wise products of two vectors; measures alignment.
2. Mathematical Foundations
IPM
Integral probability metric: largest difference in expectations over a class of test functions.
5. Similarity / Divergence Measures

J

Jacobian
Matrix of all first partial derivatives of a vector-valued function.
2. Mathematical Foundations
JS divergence
Symmetric, bounded divergence: average KL of each distribution to their mixture.
5. Similarity / Divergence Measures

K

k-means
Clustering that alternates assigning points to the nearest centroid and recomputing centroids.
13. Unsupervised Learning
k-NN
Predicting from the labels of the k nearest training points.
12. Nearest-Neighbor & Probabilistic Methods
Kernel trick
Computing inner products in a high-dimensional feature space directly via a kernel function.
11. Support Vector Machines
KL divergence
Σ P log(P/Q): information lost when Q approximates P. Asymmetric.
5. Similarity / Divergence Measures

L

Label
The target value the model should predict.
1. Introduction to Machine Learning
Lasso
Least squares with an L1 penalty; drives some weights exactly to zero.
3. Learning & Generalization
Learning rate
Step size of gradient-based updates.
4. Learning as an Optimization Problem
Linear regression
Predicting a continuous target as a weighted sum of features plus a bias.
6. Linear Regression
Logistic regression
Linear score passed through a sigmoid to model a class probability.
7. Classification
Loss function
Cost of a single prediction compared with the truth.
4. Learning as an Optimization Problem

M

Manhattan distance
L1 distance: sum of absolute coordinate differences.
2. Mathematical Foundations
Margin
Distance between the decision boundary and the nearest training points.
11. Support Vector Machines
Mini-batch
Small random subset of the data used for one gradient step.
4. Learning as an Optimization Problem
MMD
Maximum mean discrepancy: distance between kernel mean embeddings of two distributions.
5. Similarity / Divergence Measures
Mode collapse
GAN failure where the generator produces only a few kinds of output.
16. Advanced Topics

N

Naïve Bayes
Classifier applying Bayes' theorem with conditionally independent features.
12. Nearest-Neighbor & Probabilistic Methods
Normal equation
Closed-form least squares solution w = (XᵀX)⁻¹Xᵀy.
6. Linear Regression

O

Overfitting
Fitting noise in the training data: low training error, high test error.
3. Learning & Generalization

P

Padding
Adding border pixels around an input so convolution keeps size and edge information.
15. Introductory Neural Networks
Parameter
A value learned during training, such as a weight or bias.
1. Introduction to Machine Learning
PCA
Principal component analysis: projecting data onto directions of greatest variance.
14. Dimensionality Reduction
Perceptron
Single neuron with a step activation, trained by updating weights on mistakes.
15. Introductory Neural Networks
Pooling
Downsampling a feature map by taking the max or average over small regions.
15. Introductory Neural Networks
Precision
TP / (TP + FP): share of predicted positives that are correct.
8. Model Evaluation

R

R²
Fraction of the target's variance explained by the model.
6. Linear Regression
Random forest
Bagged decision trees that each consider random feature subsets at splits.
10. Decision Trees & Ensemble Learning
RBF kernel
Gaussian kernel exp(−γ‖x − z‖²): similarity that decays with distance.
11. Support Vector Machines
RBM
Restricted Boltzmann machine: visible and hidden layers with no within-layer connections.
16. Advanced Topics
Recall
TP / (TP + FN): share of actual positives found.
8. Model Evaluation
Regression
Predicting a continuous number.
1. Introduction to Machine Learning
Regularization
Penalising model complexity to improve generalisation.
9. Overfitting and Regularization
Reinforcement learning
Learning a policy from rewards by acting in an environment.
1. Introduction to Machine Learning
ReLU
max(0, z): the default hidden-layer activation.
15. Introductory Neural Networks
Residual
Difference between the true and predicted value.
6. Linear Regression
Ridge
Least squares with an L2 penalty; shrinks weights smoothly.
3. Learning & Generalization
RMSE
Root mean squared error, in the target's units.
6. Linear Regression
ROC curve
True positive rate vs. false positive rate across all thresholds.
8. Model Evaluation

S

SGD
Stochastic gradient descent: updating from one example or a small batch at a time.
4. Learning as an Optimization Problem
Sigmoid
1 / (1 + e⁻ᶻ): squashes any number into (0, 1).
7. Classification
Silhouette score
Clustering quality per point: (b − a) / max(a, b), from −1 to 1.
13. Unsupervised Learning
Softmax
Turns a vector of scores into probabilities that sum to 1.
7. Classification
Supervised learning
Learning to predict labels from labelled examples.
1. Introduction to Machine Learning
Support vectors
Training points on or inside the SVM margin that define the boundary.
11. Support Vector Machines
SVD
Singular value decomposition X = USVᵀ; the stable way to compute PCA.
14. Dimensionality Reduction

T

Test set
Held-out data used once to estimate final performance.
1. Introduction to Machine Learning
Total variation
Largest difference in probability two distributions assign to the same event.
5. Similarity / Divergence Measures

U

Underfitting
A model too simple to capture the pattern: high training and test error.
3. Learning & Generalization
Unsupervised learning
Finding structure in data without labels.
1. Introduction to Machine Learning

V

Validation set
Data used to compare models and tune hyperparameters.
1. Introduction to Machine Learning
Variance (model)
How much a model changes with different training samples; high variance causes overfitting.
3. Learning & Generalization

W

Wasserstein distance
Earth mover's distance: minimum cost of transporting one distribution onto another.
5. Similarity / Divergence Measures
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser