HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Machine Learning experts cannot live without Linear Algebra
With ML, most things are done with vectors and matrices.
With vectors and matrices, you can Discover Secrets.
In linear algebra, a scalar is a single number.
In JavaScript it can be written like a constant or a variable:
const myScalar = 1;
let x = 1;
var y = 1;
In linear algebra, a vector is an array of numbers.
In JavaScript, it can be written as an array:
const myArray = [50,60,70,80,90,100,110,120,130,140,150];
myArray.length; // the length of myArray is 11
An array can have multiple dimensions, but a vector is a 1-dimensional array.
A vector can be written in many ways. The most common are:
v = |
|
or:
v = |
|
The image to the left is a Vector. The Length shows the Magnitude. The Arrow shows the Direction. |
In linear algebra, a matrix is a 2-dimensional array.
C = |
|
In JavaScript, a matrix is an array with 2 indices (indexes).
var myArray = [[1,2],[3,4],[5,6]];
A Tensor is an N-dimensional Matrix.
T = |
|
In JavaScript, a tensor is an array with multiple indices (indexes).
Linear Algebra is the branch of mathematics that concerns linear equations (and linear maps) and their representations in vector spaces and through matrices.
Linear algebra is central to almost all areas of mathematics.
Wikipedia