Skip to content
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

Remove LinearRegressor from default AutoMLSearch estimators #2660

Merged
merged 6 commits into from
Aug 23, 2021

Conversation

freddyaboulton
Copy link
Contributor

Pull Request Description

Fixes #2589

Rationale here


After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@codecov
Copy link

codecov bot commented Aug 19, 2021

Codecov Report

Merging #2660 (7e69922) into main (60beae2) will not change coverage.
The diff coverage is 83.4%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2660   +/-   ##
=====================================
  Coverage   99.9%   99.9%           
=====================================
  Files        298     298           
  Lines      27305   27305           
=====================================
  Hits       27261   27261           
  Misses        44      44           
Impacted Files Coverage Δ
evalml/automl/automl_algorithm/evalml_algorithm.py 100.0% <ø> (ø)
...lml/tests/automl_tests/test_iterative_algorithm.py 100.0% <ø> (ø)
evalml/utils/gen_utils.py 99.6% <ø> (ø)
evalml/tests/pipeline_tests/test_pipelines.py 99.9% <66.7%> (ø)
evalml/tests/automl_tests/test_automl.py 99.7% <100.0%> (ø)
evalml/tests/pipeline_tests/test_pipeline_utils.py 100.0% <100.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60beae2...7e69922. Read the comment docs.

@@ -129,7 +129,7 @@ def __init__(
def _naive_estimators(self):
if is_regression(self.problem_type):
naive_estimators = [
"Linear Regressor",
"Elastic Net Regressor",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm so were we not running elastic net in automl before this point? That doesn't match with my memory but perhaps I've just forgotten the details of the plumbing here, lol

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is on the new algorithm @jeremyliweishih wrote so not what's run by default in AutoMLSearch right now. In AutoMLSearch we run elastic net by default!

Copy link
Contributor

@dsherry dsherry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🙏

Copy link
Contributor

@bchen1116 bchen1116 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regress.csv breaking since 0.29.0 release
3 participants