Skip to content
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

[R-package] Speed-up lgb.importance() #6364

Merged
merged 18 commits into from
Apr 10, 2024
Prev Previous commit
Next Next commit
linter
Co-authored-by: James Lamb <jaylamb20@gmail.com>
  • Loading branch information
mayer79 and jameslamb authored Mar 19, 2024
commit af78f498efd520cc57bb0eaac1d8eb007ad66b7b
2 changes: 1 addition & 1 deletion R-package/tests/testthat/test_lgb.model.dt.tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ model_reg <- lgb.train(
model_binary <- lgb.train(
params = list(
objective = "binary"
, num_threads = .LGB_MAX_THREADS
, num_threads = .LGB_MAX_THREADS
, max.depth = MAX_DEPTH
)
, data = lgb.Dataset(X, label = iris[, 5L] == "setosa")
Expand Down
Loading