% Test the classifier for SU/V detection waveDir='testDataByByway'; % Directory for wave files for testing waveData=recursiveFileList(waveDir, 'wav'); % Get all wave files under waveDir load classifierPrm.mat % load bestInputIndex, qcPrm, mu, sigma [recogRate, DS, DS2]=getRecogRate(waveData, qcPrm, bestInputIndex, mu, sigma); % Perform feature extraction and recognition fprintf('Recognition rate = %f%%\n', recogRate*100); if length(bestInputIndex)==2 decBoundaryPlot; end