We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Random Forest mode in R crashes the R session when bagging_fraction or feature_fraction are 1.
bagging_fraction
feature_fraction
library(lightgbm) data(agaricus.train, package = "lightgbm") train <- agaricus.train dtrain <- lgb.Dataset(train$data, label = train$label) data(agaricus.test, package = "lightgbm") test <- agaricus.test dtest <- lgb.Dataset.create.valid(dtrain, test$data, label = test$label) params <- list(objective = "regression", metric = "l2", boosting_type = "rf", bagging_freq = 1, bagging_fraction = 0.632, feature_fraction = 0.632, boosting_type = "rf") # params <- list(objective = "regression", metric = "l2", boosting_type = "rf", bagging_freq = 1, bagging_fraction = 0.632, boosting_type = "rf") # Crash # params <- list(objective = "regression", metric = "l2", boosting_type = "rf", bagging_freq = 1, boosting_type = "rf") # Crash valids <- list(test = dtest) model <- lgb.train(params, dtrain, 100, valids, min_data = 1, learning_rate = 1, early_stopping_rounds = 10)
The text was updated successfully, but these errors were encountered:
it is designed for this. it will throw a fatal error .
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Random Forest mode in R crashes the R session when
bagging_fraction
orfeature_fraction
are 1.The text was updated successfully, but these errors were encountered: