import numpy as np
from scipy.stats import wasserstein_distance
p = [0,5,9]
q = [2,5,7]
w = wasserstein_distance(q,p)
print(w)

 

相关文章:

  • 2021-11-04
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-10-16
相关资源
相似解决方案