Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Vector

What is vector?

An ordered list of numbers. It can be pictured as an arrow with a length and a direction.

Where it is taught

Vectors. A vector is an ordered list of numbers. Drawn as an arrow it has a length and a direction, and both will matter.

What the lesson leaves you with

  • A vector is an ordered list of numbers. Its dimension is how many numbers it has.
  • Add vectors entry by entry. Scale a vector by multiplying every entry.
  • The length (norm) is the square root of the sum of squared entries.
Open the lesson

Questions

What is vector?
An ordered list of numbers. It can be pictured as an arrow with a length and a direction.
Where is vector used in AI?
A vector is an ordered list of numbers. Drawn as an arrow it has a length and a direction, and both will matter.
What is the key idea to remember about vector?
A vector is an ordered list of numbers. Its dimension is how many numbers it has.
Where can I learn vector step by step?
In the lesson “Vectors” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

Related terms

  • Cosine similarity
  • Dot product
  • Embedding
  • Nearest neighbours
  • Parameter