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] Expose start_iteration to dump/save/lgb.model.dt.tree #6397

Closed
mayer79 opened this issue Apr 1, 2024 · 1 comment · Fixed by #6398
Closed

[R-package] Expose start_iteration to dump/save/lgb.model.dt.tree #6397

mayer79 opened this issue Apr 1, 2024 · 1 comment · Fixed by #6398

Comments

@mayer79
Copy link
Contributor

mayer79 commented Apr 1, 2024

The predict() function has a start_iteration argument. As in Python, we could expose this argument to

  • lgb.dump() and Booster$dump_model(),
  • lgb.save() and Booster$save_model(), and
  • Booster$save_model_to_string().

Furthermore, we can also add it to lgb.model.dt.tree(), providing a straight-forward solution to #6380

@mayer79 mayer79 changed the title [R-package] Expose start_iteration to load/save [R-package] Expose start_iteration to dump/save/lgb.model.dt.tree Apr 1, 2024
@jameslamb
Copy link
Collaborator

Thank you, I support this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants