About confusion.m function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Félix Fernando González Navarro
am 27 Jun. 2018
Bearbeitet: Félix Fernando González Navarro
am 27 Jun. 2018
Reading confusion.m function of nnet toolbox I observed the FNR and FPR computations. Matlab code shows:
per(i,1) = sum((yi ~= 1)&(ti == 1))/sum(yi ~= 1);
per(i,2) = sum((yi == 1)&(ti ~= 1))/sum(yi == 1);
The first line computes FNR and the second computes FPR
I have read some literature and I think computations should be:
per(i,1) = sum((yi ~= 1)&(ti == 1))/sum(yi == 1);
per(i,2) = sum((yi == 1)&(ti ~= 1))/sum(yi ~= 1);
And also, the denominator in both equations should be ti instead of yi?
am I correct? need help...!
Fernando
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Calendar finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!