AdaBoost: allow base_estimator=None#26242
Conversation
|
This would need also a test, and an item in the changelog. |
d42c7ef to
c999b14
Compare
c999b14 to
f9c4ce3
Compare
|
@adrinjalali, thanks for the review. I added a test and modified Also, there still remains a small bug in |
There was a problem hiding this comment.
Thanks, this LGTM.
On the other hand such code will crash after 1.4 anyway when the deprecated parameter is be removed. I opted not to change that part for now, but can easily add a commit that does.
Yeah, we can just leave it alone, it'll fix itself when we remove support for base_estimator
There was a problem hiding this comment.
LGTM modulo those trailing underscores.
@betatim which trailing underscores? |
|
Trailing underscores in the changelog were removed in the last commit. Sorry. |
Reference Issues/PRs
Fixes #26241.
What does this implement/fix? Explain your changes.
To ensure that the (deprecated) explicit
base_estimator=Nonedoesn't stop working, add a (likely forgotten)Noneto a list allowed values in _parameter_constraints. Everything else already seems to be setup properly.