Vectors and matrices

In\mathbf{I}_n Identity matrix

The matrix with 1s on the diagonal and 0s elsewhere; multiplying by it changes nothing.

In ML papers

I\mathbf{I} is the identity matrix: Ix=x\mathbf{I}\mathbf{x} = \mathbf{x} for every x\mathbf{x}. N(0,I)\mathcal{N}(\mathbf{0}, \mathbf{I}) is a standard normal with independent coordinates; λI\lambda\mathbf{I} added to a matrix (ridge regression, damping) makes it better conditioned. A subscript gives its size.

How to type it

LaTeXShows
\mathbf{I}I\mathbf{I}
I_n n × nInI_n

A worked example

I2=(1001)\mathbf{I}_2 = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Equations that use it

Related

A−1A^{-1}Inversediag⁡(v)\operatorname{diag}(\mathbf{v})DiagW∈Rm×n\mathbf{W} \in \mathbb{R}^{m \times n}Bold uppercase (matrix)N(μ,σ2)\mathcal{N}(\mu, \sigma^2)Normal distribution

Decode this example →