We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug tslearn/tests/test_metrics.py::test_masks fails
To Reproduce
git clone [email protected]:tslearn-team/tslearn.git cd tslearn/ pip install -r requirements.txt pip install pytest pytest tslearn/tests/test_metrics.py
Expected behavior All tests pass
Actual Behavior
> np.testing.assert_allclose( estimator1.fit(time_series).labels_, estimator2.fit(time_series).labels_ ) tslearn/tests/test_metrics.py:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7fb66f7749d0>, array([0, 2, 1, 2, 2, 2, 1, 2, 0, 1, 2, 1, 0, 2, 2]), array([1, 0, 0, 1, 1, 0, 2, 1, 0, 2, 0, 2, 0, 1, 1])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'strict': False, ...} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E Mismatched elements: 13 / 15 (86.7%) E Max absolute difference among violations: 2 E Max relative difference among violations: 1. E ACTUAL: array([0, 2, 1, 2, 2, 2, 1, 2, 0, 1, 2, 1, 0, 2, 2]) E DESIRED: array([1, 0, 0, 1, 1, 0, 2, 1, 0, 2, 0, 2, 0, 1, 1])
Environment (please complete the following information):
Additional context N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
tslearn/tests/test_metrics.py::test_masks fails
To Reproduce
Expected behavior
All tests pass
Actual Behavior
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: