True Positives, False Positives, True Negatives, False Negatives from 2 Matrices
- This simple function takes in 2 matrices of equal size populated with 1's and 0's and returns the number of True Positives, False Positives, True Negatives, False Negatives in order for precision and recall calculation
- 1st matrix is the true matrix
- 2nd matrix is the one populated from an algorithm used
- Returns error metrics based on a binary classification
Zitieren als
Jason Joseph Rebello (2024). True Positives, False Positives, True Negatives, False Negatives from 2 Matrices (https://www.mathworks.com/matlabcentral/fileexchange/47364-true-positives-false-positives-true-negatives-false-negatives-from-2-matrices), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Sparse Matrices >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Calculate Error/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |