-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix fit, refit, fit_ensemble not returning self + Unit tests #476
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
Conversation
Codecov Report
@@ Coverage Diff @@
## development #476 +/- ##
==============================================
+ Coverage 78.59% 78.6% +0.01%
==============================================
Files 130 130
Lines 10088 10093 +5
==============================================
+ Hits 7929 7934 +5
Misses 2159 2159
Continue to review full report at Codecov.
|
mfeurer
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.
Also, I'm not sure if this was ready for review. Please remove the WIP tag once this is ready for review.
test/test_automl/test_estimators.py
Outdated
| class AutoSklearnClassifierTest(unittest.TestCase): | ||
| # Currentl this class only tests that the methods of AutoSklearnClassifier | ||
| # which should return self actually return self. | ||
| def test_classification_fit_returns_self(self): |
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.
Could you please merge all of these tests into one?
test/test_automl/test_estimators.py
Outdated
| class AutoSklearnRegressorTest(unittest.TestCase): | ||
| # Currently this class only tests that the methods of AutoSklearnRegressor | ||
| # that should return self actually return self. | ||
| def test_regression_fit_returns_self(self): |
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.
Could you please also merge all of the regression tests into one?
|
All unittests are now merged into one (for classification and regression respectively). |
No description provided.