← Reference · Nestor G Pestelos Jr

Reference Document

Machine Learning

A citable reference on Machine Learning (ML): empirical risk minimization, supervised, unsupervised, and reinforcement paradigms, optimization, and generalization theorems.

See Also & Related References

Jump to Section

1. Formal Definition: The (T, P, E) Formulation

Machine Learning (ML) is a subfield of artificial intelligence focused on mathematical algorithms that build statistical models from sample data in order to make predictions or decisions without being explicitly programmed with deterministic rules.

Under Tom Mitchell's canonical definition (Mitchell, 1997):

"A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E."

2. The Three Primary Learning Paradigms

Paradigm Training Data Signal (Experience \(E\)) Objective / Task \(T\) Representative Algorithms
Supervised Learning Labeled pairs \(\mathcal{D} = \{(x_i, y_i)\}_{i=1}^N\). Learn mapping function \(f: X \to Y\) predicting labels for unseen \(x\). Linear/Logistic Regression, Support Vector Machines (SVM), Random Forests, DNNs.
Unsupervised & Self-Supervised Unlabeled data \(\mathcal{D} = \{x_i\}_{i=1}^N\) (or self-derived token masks). Discover latent structure, density \(P(X)\), or predict masked tokens from context. k-Means Clustering, PCA, t-SNE, Autoencoders, Autoregressive Pre-Training.
Reinforcement Learning (RL) Scalar reward signal \(R_t\) from environment transitions in an MDP \((S, A, P, R, \gamma)\). Learn optimal policy \(\pi^*(a \mid s)\) maximizing expected cumulative discounted return. Q-Learning, PPO, Deep Q-Networks (DQN), RLHF/DPO for LLM Alignment.

3. Empirical Risk Minimization (ERM)

In supervised learning, the ideal objective is minimizing the true risk \(R(f) = \mathbb{E}_{(x,y)\sim P}[\mathcal{L}(f(x), y)]\) over the unknown data distribution \(P(X,Y)\). Because \(P\) is unknown, algorithms minimize the Empirical Risk over the training set, augmented by a regularization penalty \(\Omega(\theta)\) to prevent overfitting:

$$\hat{\theta} = \arg\min_{\theta} \left( \frac{1}{N} \sum_{i=1}^N \mathcal{L}\big(f(x_i; \theta), y_i\big) + \lambda \Omega(\theta) \right)$$

4. The Bias-Variance Tradeoff

For any supervised regression model, the expected generalization error on unseen test data decomposes analytically into three orthogonal components:

$$\mathbb{E}\big[(y - \hat{f}(x))^2\big] = \text{Bias}\big[\hat{f}(x)\big]^2 + \text{Var}\big[\hat{f}(x)\big] + \sigma^2$$

5. Foundational Theorems & Principles