Table of Contents

III. Linear Algebra review

3.1 - Matrices and Vectors

3.2 - Addition and scalar multiplication

3.3 - Matrix Vector multiplication

3.4 - Matrix Matrix multiplication

\[\left[\begin{matrix} 1 & 2104 \\ 1 & 1416 \\ 1 & 1534 \\ 1 & 853\end{matrix} \right] \times \left[\begin{matrix} -40 & 200 & -10 \\ 0.2 & 0.1 & 0.4 \end{matrix} \right] = \left[\begin{matrix} 486 & 410 & 692 \\ 314 & 342 & 416 \\ 344 & 353 & 464 \\ 173 & 285 & 191\end{matrix} \right] \text{for hypothesis: } \begin{cases}\text{1. } h_\theta(x) = -40 + 0.25x \\ \text{2. } h_\theta(x) = 200 + 0.1x \\ \text{3. } h_\theta(x) = -150 + 0.4x \end{cases}\]

3.5 - Matrix multiplication properties

3.6 - Inverse and Transpose