[FIX] Enable classification tests#5168
Merged
markotoplak merged 3 commits intobiolab:masterfrom Jan 18, 2021
Merged
Conversation
Member
Author
|
Tests fail with: |
Codecov Report
@@ Coverage Diff @@
## master #5168 +/- ##
==========================================
+ Coverage 84.77% 85.06% +0.28%
==========================================
Files 286 298 +12
Lines 60106 60813 +707
==========================================
+ Hits 50957 51728 +771
+ Misses 9149 9085 -64 |
a1f553d to
3c43099
Compare
markotoplak
reviewed
Jan 17, 2021
| ix[:100]]): | ||
| class_var = DiscreteVariable( | ||
| "iris", | ||
| values=tuple(n for j, n in enumerate(classes) if n != i)) |
Member
There was a problem hiding this comment.
If this is fixed the other functions do not need changes. I added a fixup commit which returns them into their original state. @janezd, could you confirm if that makes sense?
a8d57f2 to
458e866
Compare
Member
|
@janezd, I simplified test changes: only the function generating test tables needed changes; I left the others as they were in master. |
Contributor
|
@markotoplak, thanks, your fix is the correct one. I identified the problem in the setup, incorrectly fixed it, and then looked at failing tests for long enough to convince myself that this is how backmapping works like. :( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Classification tests did not run.