Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. %% zadatak 7 - compare indexes
  2. [TP1,FP1,FN1] = compareIndexes(Rdet1,RAnn1',20);
  3. Se1 = (TP1./(TP1 + FN1)) * 100;
  4. PPV1 = (TP1./(TP1 + FP1)) * 100;
  5. F1 = 2*TP1./(2*TP1 + FP1 + FN1);
  6.  
  7. [TP2,FP2,FN2] = compareIndexes(Rdet2,RAnn2',20);
  8. Se2 = (TP2./(TP2 + FN2)) * 100;
  9. PPV2 = (TP2./(TP2 + FP2)) * 100;
  10. F2 = 2*TP2./(2*TP2 + FP2 + FN2);
  11.  
  12. [TP3,FP3,FN3] = compareIndexes(Rdet3,RAnn3',20);
  13. Se3 = (TP3./(TP3 + FN3)) * 100;
  14. PPV3 = (TP3./(TP3 + FP3)) * 100;
  15. F3 = 2*TP3./(2*TP3 + FP3 + FN3);
  16.  
  17. [TP4,FP4,FN4] = compareIndexes(Rdet4,RAnn4',20);
  18. Se4 = (TP4./(TP4 + FN4)) * 100;
  19. PPV4 = (TP4./(TP4 + FP4)) * 100;
  20. F4 = 2*TP4./(2*TP4 + FP4 + FN4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement