Information Theory

Information theory essentials: entropy, cross-entropy, joint/conditional entropy, KL divergence, mutual information.

October 5,2024 | Estimated reading time: 10 min | 2059 words | Author: khanhnn

The Curse of Dimensionality and Decision Theory

High-dimensional data pitfalls (CoD) and core decision theory: risk, posterior-based rules, reject option.

September 2,2024 | Estimated reading time: 16 min | 3356 words | Author: khanhnn

Transformations of random variables

Change-of-variables for PDFs: scalar and multivariate cases, Jacobian determinant, convolution and CLT.

August 15,2024 | Estimated reading time: 10 min | 2023 words | Author: khanhnn

Bayesian Probability

Bayesian probability: quantifying uncertainty, Bayes’ rule, prior/likelihood/posterior, marginal probability.

July 21,2024 | Estimated reading time: 5 min | 886 words | Author: khanhnn

Basic Probability

Probability fundamentals: rules, PDFs, expectation, variance, covariance, Gaussian distribution.

July 12,2024 | Estimated reading time: 8 min | 1588 words | Author: khanhnn

Polynomial curve fitting

Polynomial regression from least squares to Bayesian view: closed-form, regularization, predictive uncertainty.

July 5,2024 | Estimated reading time: 13 min | 2689 words | Author: khanhnn

Diffusion Models

Diffusion Models (DMs) include two processes: forward and backward. Forward process General idea Degrading input data using noise iteratively, forward in time (i.e., $t$ increases). Given image $x_0 \sim q(x_0)$, which called data distribution, forward process gradually adds Gauss noise thru $T$ time steps and produces latent $x_T$. At each time step $t$, we sample Gauss noise that following the distribution $\mathcal{N}(\sqrt{1 - \beta_t} x_{t-1}, \beta_t)$, where the hyper-parameters $0 < \beta_{1:T} < 1$ represent the variance of noise incorporated at each time step....

June 11,2024 | Estimated reading time: 5 min | 1044 words | Author: khanhnn

Determinant of matrices, eigenvalues and eigenvectors

Determinants, eigenvalues, eigenvectors: geometric meaning, finding methods, and linear transformation essence.

August 21,2021 | Estimated reading time: 6 min | 1264 words | Author: khanhnn

Span, basis, and dimension

Linear independence, span, basis, dimension: fundamental concepts for vector spaces and subspaces.

August 7,2021 | Estimated reading time: 6 min | 1118 words | Author: khanhnn

The four fundamental subspaces in Linear Algebra

Four fundamental subspaces: row space, column space, nullspace, left nullspace with dimensions and relationships.

August 7,2021 | Estimated reading time: 8 min | 1540 words | Author: khanhnn