summary_confusion

Versione 1.0.1 (2,03 KB) da Kevin Chng
A function to summarise your predicted result & actual result (Accuracy,Recall,Precision,F1,F2,F0.5)
93 download
Aggiornato 21 mar 2019

Visualizza la licenza

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);

Cita come

Kevin Chng (2024). summary_confusion (https://www.mathworks.com/matlabcentral/fileexchange/70978-summary_confusion), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.1

modify code

1.0.0