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

default value for n.trees in predict() #166

Open
AMBarbosa opened this issue Aug 7, 2024 · 1 comment
Open

default value for n.trees in predict() #166

AMBarbosa opened this issue Aug 7, 2024 · 1 comment

Comments

@AMBarbosa
Copy link

predict.GBMFit() requires explicitly specifying n.trees. Would it not be a good idea to provide n.trees with a (reasonable) default value, like length(trees(object)) or the same default as in gbm::predict.gbm()? Cheers

@gregridgeway
Copy link
Contributor

gregridgeway commented Aug 7, 2024 via email

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

No branches or pull requests

2 participants