Key terms in two registers: a plain-language definition for language professionals and a technical one for IT/ML readers.
Loading glossary…
11 terms shown
C
centripetal acceleration
The acceleration of a body going round a circle, which always points towards the centre. It is what keeps the body from flying off along a straight line.
Example: The Moon, 384 400 km from the Earth and going round once every 27.32 days, accelerates towards it at about 0.002724 m/s².
ⓘ Technical definition
a = −ω² r for r(t) = (R cos ωt, R sin ωt): magnitude v²/R = Rω² = 4π²R/T², directed from the body to the centre.
A score between −1 and +1 that measures how similar two word or sentence meanings are. A score of 1 means they point in the same direction (very similar); 0 means unrelated; −1 means opposite.
ⓘ Technical definition
cos θ = (a · b) / (‖a‖ · ‖b‖); measures the angle between two vectors in ℝⁿ independently of their magnitude. Used to compare embeddings because direction encodes meaning while magnitude often encodes frequency.
A way to multiply two vectors that gives a single number: their lengths multiplied together and by the cosine of the angle between them, so it is largest when they point the same way, zero when they are at right angles and negative when they point apart. It is also what you get by multiplying each pair of matching components and adding them up. In machine learning it measures how alike two embeddings are: words with similar meanings tend to have high dot products.
ⓘ Technical definition
a · b = Σᵢ aᵢbᵢ = |a| |b| cos θ (magnitudes also written ‖a‖ ‖b‖), where θ is the angle between a and b; a · b = 0 exactly when a and b are perpendicular (or one is zero). In physics, the work of a force F over a displacement d is F · d; in attention, the score of how strongly a query matches a key.
The size of a vector, the length of its arrow, written |v|: how far it reaches, whatever its direction. By Pythagoras, the vector (3, 4) has magnitude 5. Two vectors can point in the same direction but have different magnitudes; in machine learning, cosine similarity ignores magnitude.
ⓘ Technical definition
The Euclidean or L2 norm |v| = √(Σᵢ vᵢ²), also written ‖v‖ or ‖v‖₂, never negative and zero only for the zero vector. Normalising a vector to unit magnitude (|v| = 1) is called L2-normalisation and is commonly applied before cosine comparisons.
A single plain number with a size but no direction, like a temperature, a mass or −7, as opposed to a vector, which also has a direction. Multiplying a vector by a scalar stretches or shrinks it. In machine learning the temperature and the learning rate are scalars, beside the lists (vectors) and tables (matrices) of numbers.
ⓘ Technical definition
An element of ℝ, a rank-0 tensor. Scalar multiplication, written kv with the scalar beside the vector, scales every component of v by k, and its magnitude by |k|. Scalars arise as outputs of dot products, norms and loss functions.
Motion round a circle at a steady speed. The speed never changes, but the direction does, all the time.
Example: A merry-go-round of radius 2 m turning once every 4 s carries its riders at π ≈ 3.14 m/s.
ⓘ Technical definition
r(t) = (R cos ωt, R sin ωt) with constant angular speed ω = 2π/T; the velocity (−Rω sin ωt, Rω cos ωt) has constant magnitude Rω and is perpendicular to r.
A quantity with a size and a direction, drawn as an arrow and written as its components, an ordered list of numbers: a walk of 3 km east and 4 km north is the vector (3, 4), an arrow 5 km long. In machine learning the same lists stand for words or sentences as points in a space, and words with similar meanings end up as nearby points.
ⓘ Technical definition
An element of ℝⁿ, written by its components (v₁, …, vₙ); geometrically an arrow with a magnitude and a direction, added tip to tail. Operations: addition (component-wise), scalar multiplication, dot product, L2-norm. In this app, token embeddings are d_model-dimensional vectors, rank-1 tensors.