compareMulti {agghoo}R Documentation

compareMulti

Description

Run compareTo N times in parallel.

Usage

compareMulti(
  data,
  target,
  method_s,
  N = 100,
  nc = NA,
  floss = NULL,
  verbose = TRUE,
  ...
)

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.

verbose

TRUE to print task numbers and "Errors:" in the end.

...

arguments passed to method_s function(s)


[Package agghoo version 0.1-0 Index]