data - vector algebra

data with algebra

Vector

  • 3 terminology consisting of Vector
  1. basis means axis
  2. dimension means the amount of the feature (columns of a table)
  3. direction is related to unit vector (this literally means unit)
  • direction is about physical trend.

  • distance between vectors

  1. Euclidean distance: the sum of the absolute difference between two vectors
  2. Manhattan distance: the square root of the sum of the squared difference between two vectors
  3. Cosine distance: the multiplication of the two vectors divided by the sum of the scalar product of each vector

    cosine distance is related to cosine similarity.