
Explore vectors in n dimensional space and represent data with rn column vectors. See how eight weather attributes form an eight-dimensional vector and relate to r2 and r3.
Access and modify vector elements in python using zero-based indexing with numpy. Use L[0] and L[3] to access, L[2] = 35 to modify, and note index errors for out-of-range access.
Add two column vectors by summing corresponding components to obtain a new vector. Ensure both vectors have the same dimension, with examples in R2, R3, and Rn.
Explore the dot product (inner product) of two vectors, computed as a transpose times the vector, yielding a scalar that signals similarity and direction in r2 and r3.
Perform matrix addition by adding corresponding elements of matrices with the same dimensions, applied element-wise to A and B (e.g., two by two or two by three).
Learn how to perform scalar multiplication on matrices in python with numpy, applying a scalar to each matrix element and displaying the resulting matrix.
Learn how to compute the matrix power using NumPy's linalg.matrix_power, with square matrices, and see practical examples that multiply a matrix by itself several times.
Explore how systems of linear equations yield a unique solution, infinitely many solutions, or no solution by graphing lines and identifying intersection points, with examples demonstrating consistency and inconsistency.
Gaussian elimination with elementary row operations to transform an augmented matrix into row echelon form, then use back substitution to solve for x1, x2, and x3.
Learn the Gauss-Jordan elimination method to turn an augmented matrix into row reduced echelon form and solve a system of linear equations by row operations.
Solve a two-equation, two-unknown system using Cramer's rule. Represent the coefficients as matrix A and the constants as vector B to compute x1 and x2 via determinants.
Learn how vector length is measured by norms, including L2 (Euclidean distance), L1 (Manhattan distance), the general Lp norms, and max norm, with notes on robustness to outliers and sparsity.
This course will help you in understanding of the Linear Algebra and math’s behind Data Science and Machine Learning. Linear Algebra is the fundamental part of Data Science and Machine Learning. This course consists of lessons on each topic of Linear Algebra + the code or implementation of the Linear Algebra concepts or topics.
There’re tons of topics in this course. To begin the course:
We have a discussion on what is Linear Algebra and Why we need Linear Algebra
Then we move on to Getting Started with Python, where you will learn all about how to setup the Python environment, so that it’s easy for you to have a hands-on experience.
Then we get to the essence of this course;
Vectors & Operations on Vectors
Matrices & Operations on Matrices
Determinant and Inverse
Solving Systems of Linear Equations
Norms & Basis Vectors
Linear Independence
Matrix Factorization
Orthogonality
Eigenvalues and Eigenvectors
Singular Value Decomposition (SVD)
Again, in each of these sections you will find Python code demos and solved problems apart from the theoretical concepts of Linear Algebra.
You will also learn how to use the Python's numpy library which contains numerous functions for matrix computations and solving Linear Algebric problems.
So, let’s get started….