Artificial Intelligence


AI experts cannot live without Algebra:

  • AI make heavy use of Vectors
  • AI make heavy use of Arrays
  • AI make heavy use of Matrices

Vectors, Arrays, and Matrices

Vectors, Arrays, and Matrices, are the languages of data.

With AI, most things are done with Vectors, Arrays, and Matrices.

With Vectors, Arrays, and Matrices, you can Discover secret things.

What is a Vector?


The image to the left is a Vecor.

It has a Direction and a Magnitude.

The Length shows the magnitude.

The Arrow shows the direction.

What is an Array?

An array is a list of numbers arranged in a row:

var xArray = [50,60,70,80,90,100,110,120,130,140,150];

An array can also be a list of items:


var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.length;   // the length of fruits is 4
Try it Yourself »

In mathematics, every array has a Length and a Dimension.

Arrays can have multiple dimensions. Arrays can be accessed using multiple indices.


var Arr=[[1,2],[3,4],[5,6]];
Try it Yourself »

What is a Matrix?

A matrix is an Rectangular Array.

A matrix is arranged in Rows and Columns:

C =   
3 0 0 0
0 3 0 0
0 0 3 0
0 0 0 3

Learn More ...