[ENH] V1 → V2 API Migration - evaluation measures#1603
[ENH] V1 → V2 API Migration - evaluation measures#1603EmanAbdelhaleem wants to merge 70 commits intoopenml:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1603 +/- ##
==========================================
+ Coverage 52.04% 52.58% +0.54%
==========================================
Files 36 63 +27
Lines 4333 5058 +725
==========================================
+ Hits 2255 2660 +405
- Misses 2078 2398 +320 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
geetu040
left a comment
There was a problem hiding this comment.
This looks great. The implementation is clean and nicely decoupled. The next step should be adding tests, but let's wait until we have a clearer roadmap for that.
Also, please update the PR description to follow this format:
Fixes #1593
Depends on #1576
Related to #1575
f0c57de to
e091d57
Compare
|
@EmanAbdelhaleem Please update the base branch here. The one test fail should pass with the newest changes. |
This reverts commit fd43c48.
6236112 to
a19cb35
Compare
|
@geetu040 Ready for review |
geetu040
left a comment
There was a problem hiding this comment.
this looks good, some code is duplicated, let's wait for the design discussion
| def test_list(self): | ||
| measures = self.resource.list() | ||
| assert isinstance(measures, list) is True | ||
| assert all(isinstance(s, str) for s in measures) is True |
There was a problem hiding this comment.
may be check if the length of list is as expected, do you think there could be a problem with that?
Fixes #1593
Depends on #1576
Related to #1575
Details
This PR implements
EvaluationMeasuresresource, and refactor its existing functions