Professor-G / MicroLIA

Gravitational microlensing classification engine using machine learning
GNU General Public License v3.0
12 stars 6 forks source link

test_features.py failed #1

Closed KSNikolaus closed 5 years ago

KSNikolaus commented 5 years ago

Hi, running the test_features.py I get the following failed status:

...F...........................................

FAIL: test_abs_energy (main.Test)

Traceback (most recent call last): File "test_features.py", line 37, in test_abs_energy value.assertEqual( abs_energy(norm_flux), 27.956794796425804, "Absolute Energy function failed") AssertionError: 27.956794796425797 != 27.956794796425804 : Absolute Energy function failed


Ran 47 tests in 0.127s

FAILED (failures=1)

This could be just a rounding error since the values only disagree in the last three decimals?

Cheers, Kay

ebachelet commented 5 years ago

It seems other users have this issue too. We gonna explore this.

Professor-G commented 5 years ago

This discrepancy occurs between tsfresh version 0.11.0 and 0.11.3, updated requirements page to specify version 0.11.0