
Deprecated alias for bootstrap_performance()
Source: R/model_performance_bootstrap_rmse.R
bootstrap_rmse.Rdbootstrap_rmse() is deprecated in favour of bootstrap_performance().
Objects returned by bootstrap_rmse() keep class "bootstrap_rmse" for
backward compatibility and also inherit from "bootstrap_performance".
Usage
bootstrap_rmse(
model,
data,
n = 50,
frac = 1,
metric = "rmse",
sampling = c("bootstrap", "split"),
show_progress = TRUE,
rmse_model = NULL
)Arguments
- model
A fitted model object.
- data
Data used to fit the model object.
- n
Deprecated. Use
n_resamplesinbootstrap_performance()instead.- frac
Deprecated. Use
sample_fractioninbootstrap_performance()instead.- metric
Character. Performance metric to compute. Currently only
"rmse"is supported.- sampling
Character. Sampling scheme.
"bootstrap"samples training rows with replacement and evaluates on out-of-bag rows whensample_fraction < 1."split"samples training rows without replacement and evaluates on the remaining rows whensample_fraction < 1.- show_progress
Logical. Show progress bar during bootstrap iterations. Default = TRUE.
- rmse_model
Optional numeric RMSE of the fitted (original) model. If NULL (default), it is computed automatically.