% Test the classifier for SU/V detection toolboxAdd; % Add required toolboxes to the search path waveDir='testDataByByway'; % Directory for wave files for testing pvData=recursiveFileList(waveDir, 'pv'); % Get all wave files under waveDir suvOpt=mySuvOptSet; [recogRate, DS, DS2]=suvPerfEval(pvData, suvOpt); % Perform feature extraction and recognition fprintf('Recognition rate = %f%%\n', recogRate*100); %DS2.hitIndex=hitIndex; % Attach hitIndex to DS for plotting figure; qcPlot(DS2, suvOpt.cPrm, 'decBoundary');