Skip to content

minkowski_distance

Minkowski distance.

Parameters

  • a

    Typedict

  • b

    Typedict

  • p

    Typeint

    Parameter for the Minkowski distance. When p=1, this is equivalent to using the Manhattan distance. When p=2, this is equivalent to using the Euclidean distance.