sfaClassPredict: Predict Class for SFA classification
Description
Use a SFA classification model (stored in
opts$*Filename), predict & evaluate on new data
(xtst,realc_tst).
Author of orig. matlab version:
Wolfgang Konen, Jan 2011-Mar 2011.
See also [Berkes05]
Pietro Berkes: Pattern recognition with Slow Feature
Analysis. Cognitive Sciences EPrint Archive (CogPrint)
4104, http://cogprints.org/4104/ (2005)
Usage
sfaClassPredict(xtst, realcTst, opts)
Arguments
xtst
NTST x IDIM, test input data
realcTst
1 x NTST, test class labels
opts
list with several parameter settings:
[object Object],[object Object],[object Object]
Value
list res containing
res$errtst1 x 2
matrix: error rate with / w/o SFA on test set
res$ytstoutput from SFA when applied to test
data
res$predTpredictions with SFA +
GaussClassifier on test set
res$predXpredictions w/o SFA (only GaussClassifier) on test set
(only if opts.xFilename exists)