r = Σ((xi - x̄)(yi - ȳ)) / (√Σ(xi - x̄)² * √Σ(yi - ȳ)²)
r = Σ((xi - x̄)(yi - ȳ)) / (√Σ(xi - x̄)² * √Σ(yi - ȳ)²)
Write the formula for covariance between X and Y
Cov(X, Y) = Σ((Xi - X̄)(Yi - Ȳ)) / (n - 1)
How is the coefficient of determination (R^2) calculated from a simple linear regression model?
R^2 = 1 - (SSR/SST), where SSR is the sum of squared residuals and SST is the total sum of squares
Write the formula for normal distribution PDF
Normal distribution PDF: 𝑋/(σ√2π) * e^(-(X-μ)^2/(2σ^2))
What is the formula for calculating the mutual information between two discrete random variables X and Y?
I(X;Y) = ∑∑ P(x,y) log(P(x,y)/(P(x)P(y)))
Write the formula for Mahalanobis distance
D^2 = (x - μ)^T Σ^(-1) (x - μ)
Write the equation for cross-entropy loss
H(y, p) = -Σ(y_i * log(p_i)) for all i
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews