compareRange {agghoo}R Documentation

compareRange

Description

Run compareMulti on several values of the parameter V.

Usage

compareRange(
  data,
  target,
  method_s,
  N = 100,
  nc = NA,
  floss = NULL,
  V_range = c(10, 15, 20),
  ...
)

Arguments

data

Data matrix or data.frame

target

Target vector (generally)

method_s

Either a single function, or a list (examples: agghoo_run, standardCV_run)

N

Number of calls to method(s)

nc

Number of cores. Set to parallel::detectCores() if undefined. Set it to any value <=1 to say "no parallelism".

floss

Loss function to compute the error on testing dataset.

V_range

Values of V to be tested.

...

arguments passed to method_s function(s)


[Package agghoo version 0.1-0 Index]