Matrices and Vectors in Machine Learning

Hritika Agarwal
1 min readJul 18, 2020

--

Matrix: Rectangular array of numbers. Matrices are 2-dimensional arrays:

Dimension’of’matrix: number of rows x number of columns

Matrices

A vector is a matrix with one column and many rows:

Matrix

Run the cell below to get familiar with the commands in Octave/Matlab. Feel free to create matrices and vectors and try out different things

--

--

No responses yet