SDTEST Estimate classifier error/performance on test set ERR=SDTEST(PD,DATA) % using trained pipeline and data set ERR=SDTEST(DATA,PD) % using trained pipeline and data set ERR=SDTEST(DATA,DEC) % from a test set and decisions ERR=SDTEST(LAB,DEC) % from labels and decisions Specifying performance measures: [ERR,R,T]=SDTEST(DATA,PD,'measures',{'class-errors','TPr','apple','precision','banana'}) INPUTS DATA Test set PD Trained pipeline returning decisions LAB Ground truth labels (SDLAB) DEC Classifier decisions (SDLAB) OUTPUT ERR Estimated error/performance measures (scalar or vector) R SDROC object with performances T Time of execution in seconds DESCRIPTION SDTEST estimates errors or performances by applying trained pipeline PD on the test set or by comparing true labels and decisions. By default, SDTEST returns mean error over classes. Other measures may be defined using 'measures' option similarly to the SDROC. SEE ALSO SDROC
