Skip to content

Inconsistent function parameter default value and documentation #12921

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

Closed
bertbesser opened this issue Jan 4, 2019 · 2 comments · Fixed by #12925
Closed

Inconsistent function parameter default value and documentation #12921

bertbesser opened this issue Jan 4, 2019 · 2 comments · Fixed by #12925

Comments

@bertbesser
Copy link

Description

In gradient_boosting.py the function update_terminal_regions for each of classes LossFunction and LeastSquaresError has a parameter learning_rate with default value 1.0. However, the default value is documented as 0.1.

Expected Results

I believe the default value should be 0.1

Actual Results

The default value is 1.0

Versions

commit 952ef66

@qinhanmin2014
Copy link
Member

Maybe you can take some time to finish #6463.

@qinhanmin2014
Copy link
Member

I've submitted a PR to finish that one, thanks for the issue.

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 a pull request may close this issue.

2 participants