You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,how can I calculate wasserstein distance if I only get two histogram.
I notice DiscreteNonParametric however it needs true probability vector whicih needs sum to 1
how can I calculate the distance instead the constraint?
The text was updated successfully, but these errors were encountered:
however it needs true probability vector whicih needs sum to 1
The Wasserstein distance requires that both inputs have the same sum. In the setting of DiscreteNonParametric, they sum to 1. If you have count data, transforming from counts to frequencies would give you probability vectors that sum to 1.
Could you provide some example code or inputs? Would help clarify this
Hello,how can I calculate wasserstein distance if I only get two histogram.
I notice DiscreteNonParametric however it needs true probability vector whicih needs sum to 1
how can I calculate the distance instead the constraint?
The text was updated successfully, but these errors were encountered: