Learn R Programming

MachineShop (version 3.8.0)

set_predict: Resampling Prediction Control

Description

Set parameters that control prediction during resample estimation of model performance.

Usage

set_predict(
  object,
  times = numeric(),
  distr = character(),
  method = character(),
  ...
)

Value

Argument object updated with the supplied parameters.

Arguments

object

control object.

times, distr, method

arguments passed to predict.

...

arguments passed to other methods.

See Also

resample, set_monitor, set_optim, set_strata

Examples

Run this code
CVControl() %>% set_predict(times = 1:3)

Run the code above in your browser using DataLab