Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% zadatak 7 - compare indexes
- [TP1,FP1,FN1] = compareIndexes(Rdet1,RAnn1',20);
- Se1 = (TP1./(TP1 + FN1)) * 100;
- PPV1 = (TP1./(TP1 + FP1)) * 100;
- F1 = 2*TP1./(2*TP1 + FP1 + FN1);
- [TP2,FP2,FN2] = compareIndexes(Rdet2,RAnn2',20);
- Se2 = (TP2./(TP2 + FN2)) * 100;
- PPV2 = (TP2./(TP2 + FP2)) * 100;
- F2 = 2*TP2./(2*TP2 + FP2 + FN2);
- [TP3,FP3,FN3] = compareIndexes(Rdet3,RAnn3',20);
- Se3 = (TP3./(TP3 + FN3)) * 100;
- PPV3 = (TP3./(TP3 + FP3)) * 100;
- F3 = 2*TP3./(2*TP3 + FP3 + FN3);
- [TP4,FP4,FN4] = compareIndexes(Rdet4,RAnn4',20);
- Se4 = (TP4./(TP4 + FN4)) * 100;
- PPV4 = (TP4./(TP4 + FP4)) * 100;
- F4 = 2*TP4./(2*TP4 + FP4 + FN4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement