Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH force_all_finite=False before calling _raw_predict - #22159

Merged
jjerphan merged 7 commits into
scikit-learn:mainfrom
Geoffrey-Paris:redundant_finite_check
Jan 13, 2022
Merged

ENH force_all_finite=False before calling _raw_predict#22159
jjerphan merged 7 commits into
scikit-learn:mainfrom
Geoffrey-Paris:redundant_finite_check

Conversation

@Geoffrey-Paris

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Suggested by @thomasjpfan in PR #22089.
Link to the comment

What does this implement/fix? Explain your changes.

method fit of class ensemble.BaseGradientBoosting now
calls func check_array with parameter force_all_finite=False for non
initial warm-start runs as it has already been checked before.

@Geoffrey-Paris Geoffrey-Paris changed the title force_all_finite=False before calling _raw_predict ENH force_all_finite=False before calling _raw_predict Jan 9, 2022

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Minor comments, otherwise LGTM

Comment thread doc/whats_new/v1.1.rst Outdated
Comment thread sklearn/ensemble/_gb.py Outdated
Comment thread sklearn/ensemble/_gb.py Outdated
Geoffrey-Paris and others added 2 commits January 9, 2022 20:26

@jjerphan jjerphan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM after resolving conflicts,

@jjerphan
jjerphan merged commit cd6510f into scikit-learn:main Jan 13, 2022
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.

3 participants