-
-
Notifications
You must be signed in to change notification settings - Fork 211
feat: dataclass implemented in openmlparameter and openmlsetup class #1582
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
base: main
Are you sure you want to change the base?
feat: dataclass implemented in openmlparameter and openmlsetup class #1582
Conversation
Signed-off-by: rohansen856 <rohansen856@gmail.com>
Signed-off-by: rohansen856 <rohansen856@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1582 +/- ##
==========================================
- Coverage 53.02% 52.14% -0.89%
==========================================
Files 36 36
Lines 4326 4332 +6
==========================================
- Hits 2294 2259 -35
- Misses 2032 2073 +41 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
geetu040
left a comment
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.
Changes in openml/setups/setup.py look good. Please revert the changes in tests/test_setups/test_setup_functions.py; they won't be needed once this branch is synced with main. Merging main into this branch should skip those tests and make the CI pass.
Signed-off-by: rohansen856 <rohansen856@gmail.com>
e15e442 to
82fafe3
Compare
Signed-off-by: rohansen856 <rohansen856@gmail.com>
82fafe3 to
e7c3c91
Compare
|
@geetu040 removed the test file changes. Ready for review. |
Metadata
OpenMLParameterto Use Dataclass #1541Details
Edited the OpenMLParameter in
openml/setups/setup.pyto use@dataclassdecorator. This significantly reduces the boilerplate code in the following places:Before:
After:
Before:
After:
Tests
For tests, I have used
xfailtemporarily to bypass the preexisting test failures intests\test_setups\test_setup_functions.py.