Convex Optimization
, Linear algebra in ML
• Linear algebra is a foundational mathematical discipline
that plays a critical role in machine learning. It provides
the theoretical framework and practical tools needed to
understand and implement many machine learning
algorithms.
, Key Concepts in Linear Algebra:
•Vectors and Matrices:
•Vector: An array of numbers arranged in a single row or column, representing data points, weights, or features.
•Matrix: A two-dimensional array of numbers, representing datasets, transformations, or systems of linear
equations.
•Operations:
•Addition and Subtraction: Element-wise operations on vectors or matrices of the same dimensions.
•Scalar Multiplication: Multiplying each element of a vector or matrix by a scalar.
•Matrix Multiplication: Combining matrices where the number of columns in the first matrix matches the number
of rows in the second.
•Dot Product and Cross Product:
•Dot Product: An operation that takes two equal-length sequences of numbers (vectors) and returns a single
number, used in projections and measuring similarity.
•Cross Product: An operation on two vectors in three-dimensional space, resulting in a vector perpendicular to
both.