Learn R Programming

TDMR (version 2.2)

tdmClassifySummary: Print summary output for result from tdmClassifiyLoop and add result$y.

Description

result$y is "minus OOB rgain" on training set for methods RF or MC.RF. result$y is "minus rgain" on test set (=validation set) for all other methods. result$y is the quantity which the tuner seeks to minimize.

Usage

tdmClassifySummary(result, opts, dset = NULL)

Arguments

result

return value from a prior call to tdmClassifyLoop, an object of class TDMclassifier.

opts

a list from which we need here the following entries

NRUN

number of runs (outer loop)

method

VERBOSE

dset

[NULL] if !=NULL, attach it to result

dset

[NULL] if not NULL, add this data frame to the return value (may cost a lot of memory!)

Value

result, an object of class TDMclassifier, with result$y, result$sd.y (and optionally also result$dset) added

See Also

tdmClassify, tdmClassifyLoop, print.TDMclassifier, tdmRegressSummary