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

558 verify distance methods for LIME timeseries #586

Merged
merged 6 commits into from
May 30, 2023

Conversation

geek-yang
Copy link
Member

In this PR we verify all the calculation methods for distance, incl:

  • DTW
  • cosine
  • Euclidean

These distance calculations are needed for LIME. Changes related to the first instance issue #578 has been adapted to the distance methods in this PR as well.

@geek-yang geek-yang linked an issue May 9, 2023 that may be closed by this pull request
@geek-yang geek-yang marked this pull request as ready for review May 10, 2023 12:01
@geek-yang geek-yang requested a review from cwmeijer May 10, 2023 12:01
@geek-yang
Copy link
Member Author

The failed tests are related to #587. It can be ignored when reviewing this PR.

@elboyran
Copy link
Contributor

@cwmeijer seems important PR. Will you, please, review it?

@stefsmeets stefsmeets requested review from stefsmeets and removed request for cwmeijer May 30, 2023 11:19
Copy link
Contributor

@stefsmeets stefsmeets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, looks good to me! Just a small suggestion to improve the tests by splitting it into two separate tests.

tests/methods/test_lime_timeseries.py Outdated Show resolved Hide resolved
@stefsmeets stefsmeets merged commit 246ad52 into main May 30, 2023
22 checks passed
@stefsmeets stefsmeets deleted the 558-verify-distance-methods branch May 30, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explore and verify distance method in LIME timeseries
3 participants