tdm.This list controls the tuning and unbiased evaluation phase.
When called with tdm = tdmDefaultsFill(), a new list tdm is created and returned.
When called with tdm = tdmDefaultsFill(mainFile="my.r", a new list tdm is created
and returned, with the element mainFile set to the specified value.
When called with tdm = tdmDefaultsFill(tdm), an existing list tdm is filled with further default values.
tdmDefaultsFill(tdm = NULL, mainFile = NULL)(optional)
(optional) if given, create or overwrite tdm$mainFile with this value
tdm the new / extended list, where additional elements, if they are not yet def'd, are set as:
[NULL] if not NULL, source this file from the current dir. It should contain the definition of tdm$mainFunc.
sub(".r","",basename(tdm$mainFile),fixed=TRUE), if tdm$mainFile is set and tdm$mainFunc is NULL, else "mainFunc"
This is the name of the function called in tdmStartSpot2 and unbiasedRun
["unbiasedRun"] which function to call for unbiased evaluation
["spot"] other choices: "cmaes", "bfgs", ..., see tdmDispatchTuner
[1]
["RSUB"], one out of [ "RSUB" | "CV" | "TST" | "SP_T" ], see unbiasedRun
[1] 1: proc time, 2: system time, 3: elapsed time (columns Time.TST and Time.TRN in envT$theFinals
filename where tdmBigLoop will save a small version of environment envT. If NULL,
it is set to sub(".conf",".RData",tdm$runList[1]).
[NA] use SPOT's package version
[1] 1: sequential, >1: parallel execution with this many CPUs (package parallel)
[NULL] in case tdm$parallelCPUs>1: a string vector with functions which are clusterExport'ed in addition
to tdm$mainFunc.
[NULL] from where to load and save envT resp. filenameEnvT. If it is NULL,
tdm$path is set to the actual working directory at the time when tdmEnvTMakeNew is executed.
[NULL] a list of configuration names .conf
[NULL] see tdmReadAndSplit
[NULL] from where to source the R sources. If NULL load library TDMR instead.
["default cutoff"]
[0] the verbosity for the unbiased runs
[TRUE] list the columns with tuned parameter in final results
[5] number of runs for unbiased run
[TRUE] if TRUE, save the last model, which is trained in unbiasedRun, onto filenameEnvT
["TST.COL"] opts$TST.COL for unbiased runs (only for umode="TST")
[10] number of CV-folds for unbiased runs (only for umode="CV")
[NULL] train set fraction (of all train-vali data),OVERWRITES opts$TST.trnFrac if not NULL.
[NULL] validation set fraction (of all train-vali data), OVERWRITES to opts$TST.valiFrac if not NULL.
[0.2] test set fraction (of *all* data) for unbiased runs (only for umode="RSUB" or ="SP_T")
[NULL] (only for CMA-ES Java tuner) see cma_jTuner.
[NULL] (only for CMA-ES Java tuner) see cma_jTuner.
If tdm$mainFunc is missing, but tdm$mainFile exists, then tdmDefaultsFill
will set
tdm$mainFunc=sub(".r","",basename(tdm$mainFile),fixed=TRUE)