Skip to content

DOC Fix docstring of HalvingSearch estimators #19133

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

Merged
merged 1 commit into from
Jan 8, 2021
Merged

DOC Fix docstring of HalvingSearch estimators #19133

merged 1 commit into from
Jan 8, 2021

Conversation

shinnar
Copy link
Contributor

@shinnar shinnar commented Jan 8, 2021

Of HalvingGridSearchCV and HalvingRandomSearchCV to refer to the respective classes

What does this implement/fix? Explain your changes.

The docstrings for both new classes, for the refit parameter, refer to "this GridSearchCV instance". This PR fixes this to refer to the respective classes.

Any other comments?

Presumably the code/docstrings where copied from GridSearchCV and this minor detail was overlooked.

Of HalvingGridSearchCV and HalvingRandomSearchCV to refer to the respective classes
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @shinnar !

@NicolasHug NicolasHug changed the title Fix text in description of refit parameter DOC Fix docstring of HalvingSearch estimators Jan 8, 2021
@NicolasHug NicolasHug merged commit c83125c into scikit-learn:master Jan 8, 2021
@shinnar shinnar deleted the patch-1 branch January 8, 2021 15:06
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants