Search the School
30 results for «variance»
Lessons (8)
- VarianceTwo equal means can hide very different data. s^2 = \frac{1}{n-1}\sum (x_i - \bar x)^2. Properties \operatorname{Var}(aX + b) = a^2\operatorname{Var}(X): \operatorname{Var}(X+Y) =…
- Bias-Variance TradeoffDecomposition At a fixed point x, taking the expectation over samples and noise: Explanation Bias: Variance: Noise: A floor that no model can go below. Simulation We trained polynomials on 3…
- Inequalities and Absolute ValueRules of inequalities Adding the same number to both sides or subtracting it from them does not change the direction of the inequality. Multiplying or dividing by a positive number does not…
- Normal DistributionThe normal (Gaussian) distribution is a bell-shaped curve symmetric about its mean \mu, and its width is set by the standard deviation \sigma. The multivariate case \mathcal{N}(\mu…
- CovarianceCovariance measures how two variables change together, and the covariance matrix gathers the covariances of all pairs of features; it is the matrix that PCA decomposes. Does a large house ar…
- Random Walks and DiffusionA random walk is a sum of independent steps; its mean grows linearly with n and its variance also grows linearly, so its standard deviation grows like √n, and its continuous limit is Brownia…
- Tensor Applications in Deep LearningWe bring the above together in real computations: the batched forward pass of a fully connected layer, convolution, and scaled dot-product attention, tracking shapes at every step. This less…
- Stochastic Gradient Descent (SGD)SGD estimates the gradient from one sample or a mini-batch instead of all the data, which makes each update cheap and noisy; we look at mini-batches, epochs and momentum. Computing the gradi…
Concepts (6)
- VarianceThe expected value of the squared deviation of a variable from its mean; it measures spread. The variance of 2,4,4,4,5,5,7,9 is 4
- Bias-Variance TradeoffThe expected error decomposes into bias, variance and noise, and reducing one by changing complexity may increase the other. 0.09+0.05+0.1=0.24
- InequalityAn order relation between two expressions whose solution is a set of values written as an interval or a union of intervals. From −3x + 4 greater than 10 we get x less than −2
- Covariance MatrixA symmetric positive semi-definite matrix that holds the variances of the variables on its diagonal and the covariances off it. Decomposed in PCA
- Random WalkA cumulative sum of independent random steps; its variance grows linearly with the number of steps. 100 steps → σ = 10
- Brownian MotionA continuous process with independent Gaussian increments whose variance equals the length of the interval. The limit of a random walk
Tracks (4)
- Equations and InequalitiesQuadratic equations, inequalities, absolute value and representing solutions on the number line. Solve quadratic equations and use the discriminant Solve systems of two linear equations Solv…
- Probability and StatisticsProbability, conditional probability, Bayes' theorem, random variables, distributions, expected value, variance, covariance and correlation. Compute conditional probabilities and apply Bayes…
- Statistical Learning TheoryExpected and empirical risk, bias and variance, generalization and overfitting. Distinguish empirical risk from expected risk Decompose error into bias, variance and noise Explain overfittin…
- Stochastic ProcessesMarkov chains and continuous stochastic processes, and their link to reinforcement learning and diffusion models. Analyze Markov chains and transition matrices Compute the stationary distrib…
Labs (2)
- Equations & Inequalities LabSolving a system of two linear equations with Cramer's rule while plotting the two lines and their intersection, the quadratic equation with the discriminant while plotting the parabola, its…
- Probability & Statistics LabA probability calculator, the normal and binomial distributions with plots, descriptive statistics (mean, median, mode, variance and standard deviation), correlation, random sampling, and a…
Terminology (2)
Questions (8)
- What is the variance of a Bernoulli variable with success probability 0.2?What is the variance of a Bernoulli variable with success probability 0.2?
- Compute the population variance of the values 1, 3, 5.Compute the population variance of the values 1, 3, 5.
- Adding a constant to all values changes the variance.Adding a constant to all values changes the variance.
- Minimizing MSE is equivalent to maximizing the likelihood assuming normal noise with constant variance.Minimizing MSE is equivalent to maximizing the likelihood assuming normal noise with constant variance.
- In the variational autoencoder (VAE), what is the role of the KL term in the loss?In the variational autoencoder (VAE), what is the role of the KL term in the loss?
- According to Hoeffding's inequality for a fixed model and a loss in \([0,1]\), what is the upper bound on the probability \(|\hat R_n - R| \gt 0.05\) at \(n = 1000\)? (four decimal places)According to Hoeffding's inequality for a fixed model and a loss in [0,1], what is the upper bound on the probability |\hat R_n - R| \gt 0.05 at n = 1000? (four decimal places)
- The squared bias is 0.09, the variance 0.05 and the noise variance 0.1. What is the expected squared error?The squared bias is 0.09, the variance 0.05 and the noise variance 0.1. What is the expected squared error?
- A model has bias \(-0.2\) at a point, variance 0.03, and noise \(\sigma = 0.1\). What is the expected squared error?A model has bias -0.2 at a point, variance 0.03, and noise \sigma = 0.1. What is the expected squared error?
