A Gentle Introduction to NumPy Arrays in Python

Last Updated on November 29, 2019 Arrays are the main data structure used in machine learning. In Python, arrays from the NumPy library, called N-dimensional arrays or the ndarray, are used as the primary data structure for representing data. In this tutorial, you will discover the N-dimensional array in NumPy for representing numerical and manipulating data in Python. After completing this tutorial, you will know: What the ndarray is and how to create and inspect an array in Python. Key […]

Read more

A Gentle Introduction to Vectors for Machine Learning

Last Updated on August 9, 2019 Vectors are a foundational element of linear algebra. Vectors are used throughout the field of machine learning in the description of algorithms and processes such as the target variable (y) when training an algorithm. In this tutorial, you will discover linear algebra vectors for machine learning. After completing this tutorial, you will know: What a vector is and how to define one in Python with NumPy. How to perform vector arithmetic such as addition, […]

Read more

Gentle Introduction to Vector Norms in Machine Learning

Last Updated on August 9, 2019 Calculating the length or magnitude of vectors is often required either directly as a regularization method in machine learning, or as part of broader vector or matrix operations. In this tutorial, you will discover the different ways to calculate vector lengths or magnitudes, called the vector norm. After completing this tutorial, you will know: The L1 norm that is calculated as the sum of the absolute values of the vector. The L2 norm that […]

Read more

Introduction to Matrices and Matrix Arithmetic for Machine Learning

Last Updated on August 9, 2019 Matrices are a foundational element of linear algebra. Matrices are used throughout the field of machine learning in the description of algorithms and processes such as the input data variable (X) when training an algorithm. In this tutorial, you will discover matrices in linear algebra and how to manipulate them in Python. After completing this tutorial, you will know: What a matrix is and how to define one in Python with NumPy. How to […]

Read more

Introduction to Matrix Types in Linear Algebra for Machine Learning

Last Updated on August 9, 2019 A lot of linear algebra is concerned with operations on vectors and matrices, and there are many different types of matrices. There are a few types of matrices that you may encounter again and again when getting started in linear algebra, particularity the parts of linear algebra relevant to machine learning. In this tutorial, you will discover a suite of different types of matrices from the field of linear algebra that you may encounter […]

Read more

A Gentle Introduction to Matrix Operations for Machine Learning

Last Updated on August 9, 2019 Matrix operations are used in the description of many machine learning algorithms. Some operations can be used directly to solve key equations, whereas others provide useful shorthand or foundation in the description and the use of more complex matrix operations. In this tutorial, you will discover important linear algebra matrix operations used in the description of machine learning methods. After completing this tutorial, you will know: The Transpose operation for flipping the dimensions of […]

Read more

A Gentle Introduction to Tensors for Machine Learning with NumPy

Last Updated on December 6, 2019 In deep learning it is common to see a lot of discussion around tensors as the cornerstone data structure. Tensor even appears in name of Google’s flagship machine learning library: “TensorFlow“. Tensors are a type of data structure used in linear algebra, and like vectors and matrices, you can calculate arithmetic operations with tensors. In this tutorial, you will discover what tensors are and how to manipulate them in Python with NumPy After completing […]

Read more

A Gentle Introduction to Matrix Factorization for Machine Learning

Last Updated on August 9, 2019 Many complex matrix operations cannot be solved efficiently or with stability using the limited precision of computers. Matrix decompositions are methods that reduce a matrix into constituent parts that make it easier to calculate more complex matrix operations. Matrix decomposition methods, also called matrix factorization methods, are a foundation of linear algebra in computers, even for basic operations such as solving systems of linear equations, calculating the inverse, and calculating the determinant of a […]

Read more

Gentle Introduction to Eigenvalues and Eigenvectors for Machine Learning

Last Updated on August 9, 2019 Matrix decompositions are a useful tool for reducing a matrix to their constituent parts in order to simplify a range of more complex operations. Perhaps the most used type of matrix decomposition is the eigendecomposition that decomposes a matrix into eigenvectors and eigenvalues. This decomposition also plays a role in methods used in machine learning, such as in the the Principal Component Analysis method or PCA. In this tutorial, you will discover the eigendecomposition, […]

Read more

Top Resources for Learning Linear Algebra for Machine Learning

Last Updated on August 14, 2020 How to Get Help with Linear Algebra for Machine Learning? Linear algebra is a field of mathematics and an important pillar of the field of machine learning. It can be a challenging topic for beginners, or for practitioners who have not looked at the topic in decades. In this post, you will discover how to get help with linear algebra for machine learning. After reading this post, you will know: Wikipedia articles and textbooks […]

Read more
1 2 3 4