Fundamentals of NumPy for Deep Learning
Environment SetupTo begin working with numerical arrays in Python, the NumPy library is essential. It can be installed using the following command:
pip install numpy
Users encountering installation issues may need to upgrade their package management tool first:
python -m pip install --upgrade pip
Working with Vectors
NumPy provides the ndar ...
Posted on Tue, 08 Sep 2026 16:51:19 +0000 by andybrooke
Linear Algebra Review for Machine Learning: Matrices, Vectors, and Basic Operations
Matrices and Vectors
A matrix is a rectangular array of numbers enclosed by square brackets. For example:
[ 1 2 3 ]
[ 4 5 6 ]
[ 7 8 9 ]
[10 11 12]
This is a 4×3 matrix (4 rows, 3 columns). The dimension is always given as number of rows × number of columns.
Vectors are a special type of matrix with only one column. An n-dimensional vector has ...
Posted on Fri, 08 May 2026 11:11:33 +0000 by atstein