Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Math - Stats Basics Recap

Basic Statistics Concepts, Regression, Distributions, Covariance & Correlation, Bessel Correction

Basic Statistics Concepts Standard Deviation and Variance Variance of a distribution can be “biased” and “unbiased”. A biased variance is to always underestimate the real bias. \[\begin{gather*}...

Math - Lagrange Multiplier

Pontryagin's Minimum Principle

Lagrange Multiplier Multivating example: maximize $f(x,y)$, where $xy+1$, given constraint $g(x,y) = x^2+y^2-1 = 0$ Geometric Intuition: the value of f(x,y) and the constraint it must stay on are...

Math - Self-Adjoint Matrices

Robust Information Matrix

Definition A complex matrix is self adjoint if $A = \bar{A}^T$, reading “equal to its own conjugate transpose”. It’s also called “Hermitian”. For real values, this means $A = A^T$ In Eigen, if y...

Math - Interpoloation

Linear, Cubic, Bicubic Splines

Interpolation “Interpolation” is essentially “how to get through lines and predict the value of a point in between?”. The first step is to connect points. For that, we need a spline. A spline is a...

Math - Distance Metrics

KL Divergence , Chi-Squared Similarity

Statistical Distance & Divergence Metrics Kullback-Leibler (KL) Divergence Given two distributions, $p(x)$, and $q(x)$, denotes how different $p(x)$ is from $q(x)$, hence it further denotes h...

Math - Positive Definiteness and Cholesky Decomposition

A matrix is positive definite, if it always sees the glass as half full. But why does the matrix still go to therapy? To break down its issues with Cholesky decomposition. Just Joking.

Positive Definiteness A matrix is Positive definite when for any x: \[\begin{gather*} x^T A x > 0 \end{gather*}\] For an nxn real symmetric matrix. It’s equivalent to say “it’s positive defin...

Math - Matrix Derivatives

Jacobian and Hessian, Vector-Vector Derivative

Jacobian and Hessian Jacobian Suppose we have a vector-valued function \[\begin{gather*} \begin{aligned} & f = [f_0(x), ... f_m(x)] \\ & x = [x_0, ... x_n] \end{aligned} \end{gather*}\] ...

Math - Eigen Value, Eigen Vector, and Eigen Value Decomposition

Covariance Matrix, PCA

Eigen Values and Eigen Vectors Basic Definitions \[\begin{gather*} Ax = \lambda x \end{gather*}\] $x$ is an eigen vector, $\lambda$ is an eigen value Important properties Only square ma...

Math Trigonometry Review

t a— layout: post title: Math - Trigonometry Review date: ‘2017-01-13 13:19’ subtitle: comments: true tags: - Math — Half Angle Formulas \[\begin{gather*} cos \theta = 2 cos^2 \frac{\theta}{2...

Math - Different Types Of Convolutions

Transpose Convolution (U-Net), Dilated Convolution (DeepLab)

Transpose Convolution Definition Transpose Convolution (a.k.a upsampling convolution) was designed specifically for upsampling, which is then used in the decoder part of an encoder-decoder networ...