-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] Enable classification tests #5168
[FIX] Enable classification tests #5168
Conversation
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
ix[:100]]): | ||
class_var = DiscreteVariable( | ||
"iris", | ||
values=tuple(n for j, n in enumerate(classes) if n != i)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be j != i
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
@janezd, I simplified test changes: only the function generating test tables needed changes; I left the others as they were in master. |
@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. :( |
Issue
Classification tests did not run.