Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mean computed without weights in empirical gaussain OT #648

Closed
rflamary opened this issue Jun 27, 2024 · 0 comments · Fixed by #649
Closed

Mean computed without weights in empirical gaussain OT #648

rflamary opened this issue Jun 27, 2024 · 0 comments · Fixed by #649

Comments

@rflamary
Copy link
Collaborator

Describe the bug

in ot.gaussian the empirical means and computed with nx.mean it shoudl use weights

To Reproduce

Steps to reproduce the behavior:

  1. ...

Screenshots

Code sample

Expected behavior

Environment (please complete the following information):

  • OS (e.g. MacOS, Windows, Linux):
  • Python version:
  • How was POT installed (source, pip, conda):
  • Build command you used (if compiling from source):
  • Only for GPU related bugs:
    • CUDA version:
    • GPU models and configuration:
    • Any other relevant information:

Output of the following code snippet:

import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import ot; print("POT", ot.__version__)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant