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 number of bootstraps #60

Open
brshallo opened this issue Apr 3, 2024 · 0 comments
Open

Default number of bootstraps #60

brshallo opened this issue Apr 3, 2024 · 0 comments

Comments

@brshallo
Copy link

brshallo commented Apr 3, 2024

In the paper Bootstrap Prediction Intervals in Non-Parametric Regression... (Dan Saattrup Nielsen's post on implementation, my post mostly mirroring Dan's) which I believe follows essentially the same procedure as workboots, the authors recommend the number of bootstrap simulations to be the square root of the number of samples. Therefore, you might consider changing the default argument in predict_boots() from n = 2000 to n = sqrt(nrow(training_data)).

(Note that Max Kuhn suggests here you may want a large number of simulations, though not sure exactly what the number would be and am guessing it'd be model specific.)

@brshallo brshallo changed the title Default number of samples Default number of bootstraps Apr 3, 2024
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

1 participant