Back to course

Linear Algebra: Scalars and Vectors

Full Course: AI & Machine Learning (ML)

Math Foundations: Vectors\n\nMachine learning models represent data as vectors. A scalar is a single number, while a vector is an ordered list of numbers representing a point in space.\n\nIn Python with NumPy:\npython\nimport numpy as np\nv = np.array([1, 2, 3])\n