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

Skip to content

[MRG] Minor doc update in ensemble.rst #11810

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 2 commits into from
Oct 17, 2018
Merged

Conversation

NicolasHug
Copy link
Member

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Minor doc improvement

  • rephrased sentence that was (IMHO) a bit unclear
  • corrected h(x) into h(x_i)

Any other comments?

Minor doc improvement

.. math::

F_m(x) = F_{m-1}(x) + \arg\min_{h} \sum_{i=1}^{n} L(y_i,
F_{m-1}(x_i) + h(x))
F_{m-1}(x_i) + h(x_i))
Copy link
Member

Choose a reason for hiding this comment

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

I find this still pretty unclear tbh. the argmin returns a tree h, but on the left-hand side we apply F_m to x. So the operation of "apply the argmin to x" is missing.
So I'd break it up in to F_m(x) = F_{m-1}(x) + \gamma_m h_m(x) (which is above)
and say h_m is given as h_m = argmin ....

Copy link
Member

@amueller amueller left a comment

Choose a reason for hiding this comment

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

I think this is much clearer, thanks!

@jnothman
Copy link
Member

Thanks @NicolasHug

@jnothman jnothman merged commit d4c9e84 into scikit-learn:master Oct 17, 2018
@NicolasHug NicolasHug deleted the patch-1 branch October 17, 2018 20:28
anuragkapale pushed a commit to anuragkapale/scikit-learn that referenced this pull request Oct 23, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
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.

3 participants