Skip to content

p-norm vs Minkowski distance #672

Answered by rflamary
DRKWang asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
As stated in the documentation and similarly to the original numpy functions parameter p is used only when the metric= 'minkowski' is passed since default is squared euclidean that corresponds to p=2
https://pythonot.github.io/all.html#ot.dist

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rflamary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #671 on August 21, 2024 06:34.