# topic/math

53 notes · all tags

Adam Optimizer

Adam (Adaptive Moment Estimation) combines Momentum with per-parameter adaptive learning rates:

4 links · 6 backlinks
# topic/math/optimization

Bayes' Theorem

Components: - — posterior: updated belief about after observing - — likelihood: probability of evidence given - — prior: belief about before seeing evidence - — marginal…

4 links · 5 backlinks
# topic/math/probability

Bayesian vs Frequentist Inference

Bayesian and frequentist inference differ in how they interpret probability and unknown parameters.

4 links · 1 backlinks
# topic/math/statistics

Bootstrap and Resampling

The bootstrap estimates uncertainty by resampling from the observed data.

3 links · 2 backlinks
# topic/math/statistics

Calculus and Optimization

Calculus studies local change; optimization uses local change to choose better parameters. The useful mental model is: derivatives describe sensitivity, Taylor expansions…

13 links · 2 backlinks
# topic/math/calculus# topic/math/optimization

Central Limit Theorem

The Central Limit Theorem says that sums and averages of many independent random variables become approximately normal under broad conditions.

3 links · 4 backlinks
# topic/math/statistics

Chain Rule (Multivariable)

If , the chain rule gives:

4 links · 5 backlinks
# topic/math/calculus

Closure

A set is closed under an operation if applying the operation to elements of always produces an element of :

2 links · 0 backlinks
# topic/math

Computation Graphs

A computation graph is a directed acyclic graph (DAG) where nodes are operations and edges carry values. It makes the Chain Rule (Multivariable) systematic.

3 links · 4 backlinks
# topic/math/optimization# topic/cs

Confidence Intervals

A confidence interval is a procedure that produces a range of plausible parameter values from data.

3 links · 5 backlinks
# topic/math/statistics

Convexity

A function is convex if a line segment between any two points on its graph lies above the graph:

4 links · 7 backlinks
# topic/math/optimization

Correlation and Covariance

Covariance measures how two variables vary together.

3 links · 1 backlinks
# topic/math/statistics

Cross Product

The cross product is defined only in and and produces a vector (unlike the Dot Product which produces a scalar):

2 links · 0 backlinks
# topic/math/linear-algebra

Determinant and Inverse

The determinant of a square matrix is a scalar that captures how the transformation scales volume:

5 links · 1 backlinks
# topic/math/linear-algebra

Dot Product

The dot product (inner product) of two vectors can be understood through two equivalent views:

3 links · 5 backlinks
# topic/math/linear-algebra

Eigendecomposition

An eigenvector of matrix is a nonzero vector whose direction is unchanged by the transformation: , where is the eigenvalue.

4 links · 9 backlinks
# topic/math/linear-algebra

Entropy and Cross-Entropy

Entropy measures the average surprise (information content) of a distribution:

4 links · 2 backlinks
# topic/math/probability

Estimators

An estimator is a rule for using data to estimate an unknown population parameter.

5 links · 2 backlinks
# topic/math/statistics

Expectation and Variance

Expectation (mean): the average value of a random variable. - Discrete: - Continuous: - Linearity: (always, even if dependent)

4 links · 5 backlinks
# topic/math/probability

Experimental Design

Experimental design is about collecting data so comparisons support valid causal or statistical conclusions.

3 links · 2 backlinks
# topic/math/statistics

Gaussian Elimination

Gaussian elimination transforms a matrix into row echelon form (REF) using elementary row operations to solve linear systems .

2 links · 4 backlinks
# topic/math/linear-algebra

Gradient

The gradient of a scalar function is the vector of all partial derivatives:

4 links · 7 backlinks
# topic/math/calculus

Hessian Matrix

The Hessian of a scalar function is the matrix of second partial derivatives:

6 links · 6 backlinks
# topic/math/calculus

Hypothesis Testing

A hypothesis test asks whether observed data is surprising under a null hypothesis.

3 links · 4 backlinks
# topic/math/statistics

Jacobian Matrix

The Jacobian of a vector-valued function is the matrix of all partial derivatives:

4 links · 4 backlinks
# topic/math/calculus

Key Probability Distributions

Discrete:

6 links · 5 backlinks
# topic/math/probability

KL Divergence

KL divergence measures how one probability distribution diverges from a reference distribution :

4 links · 5 backlinks
# topic/math/probability

Law of Large Numbers

The Law of Large Numbers says that the sample average converges to the expected value as sample size grows.

3 links · 1 backlinks
# topic/math/statistics

Learning Rate Schedules

The learning rate controls step size in gradient descent. Too large → divergence; too small → slow convergence. Schedules vary during training.

2 links · 4 backlinks
# topic/math/optimization

Linear Algebra

Linear algebra studies vector spaces and linear maps between them. The useful mental model is: vectors live in spaces, bases give coordinates, matrices represent transformations…

13 links · 2 backlinks
# topic/math/linear-algebra

Linear Transformations

A linear transformation satisfies . Every linear transformation can be represented as multiplication by a matrix , and every matrix defines one.

6 links · 2 backlinks
# topic/math/linear-algebra

LoRA

LoRA (Low-Rank Adaptation) makes fine-tuning large models practical by training only small low-rank matrices.

3 links · 5 backlinks
# topic/ai-ml/deep# topic/math/linear-algebra

Matrix Multiplication

Matrix multiplication can be understood through three equivalent views:

3 links · 5 backlinks
# topic/math/linear-algebra

Maximum A Posteriori Estimation

MAP estimation adds a prior to Maximum Likelihood Estimation :

4 links · 8 backlinks
# topic/math/probability

Maximum Likelihood Estimation

MLE finds the parameters that maximize the probability of the observed data:

4 links · 13 backlinks
# topic/math/probability

Momentum

Momentum accelerates Stochastic Gradient Descent by accumulating a velocity vector in directions of persistent gradient:

2 links · 3 backlinks
# topic/math/optimization

Norms and Distance Metrics

A norm measures the "size" of a vector. Norms underlie nearly every loss function, regularizer, and similarity measure in ML.

5 links · 4 backlinks
# topic/math/linear-algebra

Orthogonality and Projections

Two vectors are orthogonal if . An orthonormal set has all vectors mutually orthogonal with unit length.

4 links · 2 backlinks
# topic/math/linear-algebra

Population vs Sample

A population is the full data-generating group you care about. A sample is the observed subset used to infer properties of that population.

3 links · 2 backlinks
# topic/math/statistics

Positive Definite Matrices

A symmetric matrix is positive definite (PD) if for all nonzero . Positive semi-definite (PSD) allows .

4 links · 8 backlinks
# topic/math/linear-algebra

Power Iteration

Power iteration is a simple algorithm to find the dominant eigenvalue (largest in absolute value) and its eigenvector.

2 links · 1 backlinks
# topic/math/linear-algebra

Principal Component Analysis (PCA)

PCA finds the directions of maximum variance in data and projects onto them for dimensionality reduction.

3 links · 9 backlinks
# topic/math/linear-algebra# topic/ai-ml/classical

Probability

Probability studies uncertainty before observing data. The useful mental model is: random variables turn outcomes into quantities, distributions assign mass or density…

9 links · 3 backlinks
# topic/math/probability

Random Variables

A random variable is a function from outcomes to numbers, equipped with a probability distribution describing the likelihood of each value.

3 links · 4 backlinks
# topic/math/probability

Rank and Null Space

For a matrix ( ):

3 links · 7 backlinks
# topic/math/linear-algebra

Sampling Distributions

A sampling distribution is the distribution of a statistic across repeated samples from the same population.

3 links · 6 backlinks
# topic/math/statistics

Singular Value Decomposition (SVD)

Every matrix (any shape) can be decomposed as :

4 links · 8 backlinks
# topic/math/linear-algebra

Statistical Power

Statistical power is the probability that a test correctly detects a real effect.

3 links · 3 backlinks
# topic/math/statistics

Statistical Significance vs Practical Significance

Statistical significance asks whether an observed effect is unlikely under a null hypothesis.

3 links · 2 backlinks
# topic/math/statistics

Statistics Fundamentals

Statistics studies inference from finite data. The useful mental model is: probability goes from model to possible data; statistics goes from observed data back to uncertain…

16 links · 2 backlinks
# topic/math/statistics

Stochastic Gradient Descent

SGD and its variants are the workhorses of neural network training.

6 links · 12 backlinks
# topic/math/optimization

Taylor Expansion

Taylor expansion approximates a function near a point using its derivatives:

5 links · 4 backlinks
# topic/math/calculus

Vector Spaces and Basis

A vector space over is a set of vectors closed under addition and scalar multiplication. is the canonical example.

6 links · 4 backlinks
# topic/math/linear-algebra