-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Docs] Any documentation for boost_from_average? #352
Comments
@Laurae2 |
@guolinke The one below is with > params <- list(objective="multiclass", num_class=3, metric="multi_logloss", boost_from_average = TRUE)
> valids <- list(test=dtest)
> model <- lgb.train(params, dtrain, 5, valids, min_data=1, learning_rate=0.05, early_stopping_rounds=5)
[LightGBM] [Info] Number of data: 6513, number of features: 116
[1]: test's multi_logloss:1.03786
[2]: test's multi_logloss:0.982533
[3]: test's multi_logloss:0.932025
[4]: test's multi_logloss:0.885889
[5]: test's multi_logloss:0.843413
> params <- list(objective="multiclass", num_class=3, metric="multi_logloss", boost_from_average = FALSE)
> model <- lgb.train(params, dtrain, 5, valids, min_data=1, learning_rate=0.05, early_stopping_rounds=5)
[LightGBM] [Info] Number of data: 6513, number of features: 116
[1]: test's multi_logloss:1.03786
[2]: test's multi_logloss:0.982533
[3]: test's multi_logloss:0.932025
[4]: test's multi_logloss:0.885889
[5]: test's multi_logloss:0.843413 |
I think it may depend on your dataset. with the data in .../examples/multiclass_classification
boost_from_average = false
|
@wxchan I tested it with another set and got different results now like you explained. |
changed port and added example
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
I'm just wondering if there is any documentation for
boost_from_average
(ref commit e179c7c).I'm seeing this specific change:
However, when trying it, I'm seeing no difference and trees are identical (or, I'm not looking at what I should look for).
Test:
The text was updated successfully, but these errors were encountered: