Learn R Programming

MachineShop (version 3.2.0)

set_predict: Resampling Prediction Control

Description

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

Usage

set_predict(
  control,
  times = numeric(),
  distr = character(),
  method = character()
)

Arguments

control

control object.

times, distr, method

arguments passed to predict.

Value

Argument control updated with the supplied parameters.

See Also

set_monitor, set_strata, resample, SelectedInput, SelectedModel, TunedInput, TunedModel

Examples

Run this code
# NOT RUN {
CVControl() %>% set_predict(times = 1:3)

# }

Run the code above in your browser using DataLab