- ndr_container
The purpose of this argument is to make the
constructor of the cv_standard cross-validator work with the magrittr
pipe (|>) operator. This argument would almost always be set at the
end of a sequence of piping operators that include a datasource and a
classifier. Alternatively, one can keep this set to NULL and directly use
the datasource and classifier arguments (one would almost never use
both types of arguments). See the examples.
- datasource
A datasource (DS) object that will generate the training
and test data.
- classifier
A classifier (CS) object that will learn parameters based
on the training data and will generate predictions based on the test data.
- feature_preprocessors
A list of feature preprocessor (FP) objects that
learn preprocessing parameters from the training data and apply
preprocessing of both the training and test data based on these parameters.
- result_metrics
A list of result metric (RM) objects that are used to
evaluate the classification performance. If this is set to NULL then the
rm_main_results(), rm_confusion_matrix() results metrics will be used.
- num_resample_runs
The number of times the cross-validation should be
run (i.e., "resample runs"), where on each run, new training and test sets
are generated. If pseudo-populations are used (e.g., with the ds_basic),
then new pseudo-populations will be generated on each resample run as well.
- run_TCD
A Boolean indicating whether a Temporal Cross-Decoding (TCD)
analysis should be run where the the classifier is trained and tested at
all points in time. Setting this to FALSE causes the classifier to only be
tested at same time it is trained on which can speed up the analysis run
time and save memory at the cost of not calculated the temporal cross
decoding results.
- num_parallel_cores
An integers specifying the number of parallel cores
to use when executing the resample runs in the analysis. The default (NULL)
value is to use half of the cores detected on the system. If this value is
set to a value of less than 1, then the code will be run serially and
messages will be printed showing how long each CV split took to run which
is useful for debugging.
- parallel_outfile
A string specifying the name of a file where the
output from running the code in parallel is written (this argument is
ignored if num_parallel_cores < 1). By default the parallel output is
written to dev/null so it is not accessible. If this is changed to an empty
string the output will be written to the screen, otherwise it will be
written to a file name specified. See parallel::makeCluster for more
details.