tdmROCR.TDMclassifier: Interactive plot of ROC, lift or other charts for a...

Description Usage Arguments Value Note See Also Examples

View source: R/tdmROCR.r

Description

Brings up a twiddle user interface, where the user may select a part of the dataset ("training" or "validation"), a run number (if Opts(x)$NRUN>1) and a type-of-chart, see tdmROCRbase for details. Using tdmROCRbase, the appropriate chart is plotted on the current graphics device.

Usage

1
2
## S3 method for class 'TDMclassifier'
tdmROCR(x, ...)

Arguments

x

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

...

– currently not used –

Value

The area under the curve plotted most recently.

Note

Side effect: For each chart, calculate and print the area between the curve and the bottom line (y=1.0 for typ=="lift", y=0.0 else).

See Also

tdmClassifyLoop tdmROCRbase

Examples

1
2
3
4
5
6
7
   ## Not run: 
     path <- paste(find.package("TDMR"), "demo02sonar",sep="/");
     source(paste(path,"main_sonar.r",sep="/"));
     result = main_sonar();
     tdmROCR(result);
   
## End(Not run)

TDMR documentation built on March 3, 2020, 1:06 a.m.