summary_confusion
Version 1.0.1 (2,03 KB) von
Kevin Chng
A function to summarise your predicted result & actual result (Accuracy,Recall,Precision,F1,F2,F0.5)
The function will return you the result (Accuracy,Recall,Precision,F1,F2,F0.5) based on your input (Actual and Prediction).
For example,
load fisheriris
X = meas;
Y = species;
Mdl = fitcknn(X,Y,'NumNeighbors',5,'Standardize',1);
predictedY = resubPredict(Mdl);
[table_ind_result,table_ove_result] = summary_confusion(Y,predictedY);
Zitieren als
Kevin Chng (2025). summary_confusion (https://www.mathworks.com/matlabcentral/fileexchange/70978-summary_confusion), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Descriptive Statistics >
Mehr zu Descriptive Statistics finden Sie in Help Center und MATLAB Answers
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.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | modify code |
||
1.0.0 |