create_resample_experiment {flowml}R Documentation

create_resample_experiment

Description

Creates an object of a resampling experiment.

Usage

create_resample_experiment(
  seed,
  data_df,
  parser_inst,
  model_inst,
  config_inst,
  n_features
)

Arguments

seed

sets the seed for the random number generator to guarantee reproducibility. (int)

data_df

data frame to be learned from. (tibble::tibble)

parser_inst

instance of parser object. (optparse::parse_args).

model_inst

instance of caret_train object (caret::train).

config_inst

list of config options (list).

n_features

number of features (int).

Details

Creates a resampling experiment. It uses user defined parameters to set up the experiment. It creates an instance of the Resampler object and runs the experiment according to the user-defined parameters.

Value

An instance of type 'Resampler'.

Author(s)

Sebastian Malkusch


[Package flowml version 0.1.3 Index]