GETLOO.M
资源名称:speech.rar [点击查看]
上传用户:ay_070428
上传日期:2014-12-04
资源大小:11427k
文件大小:1k
源码类别:
语音合成与识别
开发平台:
Matlab
- % Get waveData
- %load waveData.mat
- close all
- load dist0.mat % Original
- figure
- waveData = loo(waveData, distmat, 1);
- rank = [waveData.rank];
- plotpie(rank);
- title('File-based LOO test (original features)');
- fprintf('File-based LOO test (original features): %g%%n', ...
- sum(rank==1)/length(rank)*100);
- figure
- waveData = loo(waveData, distmat, 2);
- rank = [waveData.rank];
- plotpie(rank);
- title('Person-based LOO test (original features)');
- fprintf('Person-based LOO test (original features): %g%%n', ...
- sum(rank==1)/length(rank)*100);
- load dist1.mat % Normalized features
- figure
- waveData = loo(waveData, distmat, 1);
- rank = [waveData.rank];
- plotpie(rank);
- title('File-based LOO test (normalized features)');
- fprintf('File-based LOO test (normalized features): %g%%n', ...
- sum(rank==1)/length(rank)*100);
- figure
- waveData = loo(waveData, distmat, 2);
- rank = [waveData.rank];
- plotpie(rank);
- title('Person-based LOO test (normalized features)');
- fprintf('Person-based LOO test (normalized features): %g%%n', ...
- sum(rank==1)/length(rank)*100);