STAR: Cluster - Home:
'via Blog this'
Tuesday, May 31, 2016
Monday, May 30, 2016
Sunday, May 29, 2016
Thursday, May 26, 2016
Wednesday, May 25, 2016
Thursday, May 19, 2016
How to plot EER/DET
Step 1: Download
Step 2: Test: (You only need replace 'tar' and 'non' with your own value)
figure;
tar = randn(1,100)*2+1; non = randn(1,100);
[pmiss,pfa] = rocch(tar,non);
plot(pfa,pmiss,'b-');
axis('square');grid;
title('flatter DET');
% demo2:
% demo2:
dcfWeights_SRE08=[10*0.01 1*0.99];
dcfWeights_SRE10=[1*0.001 1*0.999];
dcfWeights=dcfWeights_SRE10
[x,y,EER,minDCF] = rocchdet(llr_target,llr_ nontarget,dcfWeights');
[x2,y2,EER2,minDCF2008] = rocchdet(llr_target,llr_ nontarget,dcfWeights_SRE08');
[pmiss,pfa] = Compute_DET(llr_target,llr_ nontarget);
hold on; make_det_axes();
plot(x,y,'g',probit(pfa), probit(pmiss),'r');
legend(sprintf('ROCCH-DET (EER = %3.3f%%)',EER*100),'classical DET',...
'Location','SouthWest');
title('EER read off ROCCH-DET');
hold off;
fprintf('\nCosine Distance Scoring Based baseline system performance on the protocol of NIST SRE %d\n', NIST_SRE);
fprintf('\nEER=%3.5f%%\t\ tminDCF_new=%3.10f\tminDCF_ old=%3.10f\n',EER*100, minDCF,minDCF2008);
dcfWeights=dcfWeights_SRE10
[x,y,EER,minDCF] = rocchdet(llr_target,llr_
[x2,y2,EER2,minDCF2008] = rocchdet(llr_target,llr_
[pmiss,pfa] = Compute_DET(llr_target,llr_
hold on; make_det_axes();
plot(x,y,'g',probit(pfa),
legend(sprintf('ROCCH-DET (EER = %3.3f%%)',EER*100),'classical DET',...
'Location','SouthWest');
title('EER read off ROCCH-DET');
hold off;
fprintf('\nCosine Distance Scoring Based baseline system performance on the protocol of NIST SRE %d\n', NIST_SRE);
fprintf('\nEER=%3.5f%%\t\
Tuesday, May 17, 2016
shell - unix command line execute with . (dot) vs. without - Stack Overflow
shell - unix command line execute with . (dot) vs. without - Stack Overflow:
The following can only execute the command
bash name
or
./name
'via Blog this'
. name sources the file called name into the current shell.The following can only execute the command
bash name
or
./name
'via Blog this'