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

Possible different in results between different versions of Python packages #749

Open
raoulcollenteur opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
bug Indicates an unintended behavior or coding error
Milestone

Comments

@raoulcollenteur
Copy link
Member

raoulcollenteur commented Apr 24, 2024

Describe the bug
During the recent Pastas workshop it seemed that different results were obtained between different computers and version of Python packages, but we could not test this systematically. I'd be happy if others can run the notebook I created and report here in this issue the values that are printed in the notebook at the end.

To Reproduce
The the notebook in the zip-file.

test_case.zip

And report the values here

Expected behavior

This is what I get on a Mac M2:

EVP= 82.74855784337282
Python version: 3.11.8
NumPy version: 1.26.4
Pandas version: 2.1.4
SciPy version: 1.13.0
Matplotlib version: 3.8.3
Numba version: 0.59.0
LMfit version: 1.2.2
Latexify version: Not Installed
Pastas version: 1.5.0

Here's what I get on Mac M1 with very old packages:

EVP= 82.74835542311386
Python version: 3.9.12
NumPy version: 1.21.6
Pandas version: 1.4.2
SciPy version: 1.11.4
Matplotlib version: 3.5.1
Numba version: 0.55.1
LMfit version: 1.0.3
Latexify version: Not Installed
Pastas version: 1.5.0

@raoulcollenteur raoulcollenteur added the bug Indicates an unintended behavior or coding error label Apr 24, 2024
@raoulcollenteur raoulcollenteur added this to the 1.6 milestone Apr 24, 2024
@dbrakenhoff
Copy link
Member

dbrakenhoff commented Apr 24, 2024

On Ubuntu and Intel® Core™ i7-8750H CPU @ 2.20GHz × 12

EVP= 82.74835037278247
Python version: 3.10.12
NumPy version: 1.26.4
Pandas version: 2.1.3
SciPy version: 1.12.0
Matplotlib version: 3.7.2
Numba version: 0.59.0
LMfit version: 1.2.2
Latexify version: Not Installed
Pastas version: 1.5.0b

Matching your first environment I get:
EVP= 82.74805888475295
Python version: 3.11.8
NumPy version: 1.26.4
Pandas version: 2.1.4
SciPy version: 1.13.0
Matplotlib version: 3.8.4
Numba version: 0.59.0
LMfit version: 1.2.2
Latexify version: Not Installed
Pastas version: 1.5.0

I cannot directly reproduce your second environment, so I let it pick its own numpy/scipy verisons.

EVP= 82.74835298395068
Python version: 3.9.12
NumPy version: 1.21.6
Pandas version: 1.4.2
SciPy version: 1.11.2
Matplotlib version: 3.5.1
Numba version: 0.55.1
LMfit version: 1.0.3
Latexify version: Not Installed
Pastas version: 1.5.0

@raoulcollenteur raoulcollenteur self-assigned this Apr 24, 2024
@mbakker7
Copy link
Collaborator

mbakker7 commented Apr 24, 2024

On my Mac M2:
EVP= 82.74835371251245
Python version: 3.11.4
NumPy version: 1.24.3
Pandas version: 2.1.1
SciPy version: 1.10.1
Matplotlib version: 3.7.1
Numba version: 0.57.0
LMfit version: 1.2.2
Latexify version: Not Installed
Pastas version: 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unintended behavior or coding error
Projects
None yet
Development

No branches or pull requests

3 participants