Multi Class Confusion Matrix

Calclating kappa, acuuracy,error,Sensitivity ,Specificity , Precision,False positive rate etc.
4.8K Downloads
Updated 21 Jul 2017

View License

This code is designed for two or more classes instance confusion matrix formation and Calclating
1acuuracy
2.error
3.Sensitivity (Recall or True positive rate)
4.Specificity
5.Precision
6.FPR-False positive rate
7.F_score
8.MCC-Matthews correlation coefficient
9.kappa-Cohen's kappa
Run demo.m for proof and demo
Developer Er.Abbas Manthiri S
Date 25-12-2016
Mail Id: abbasmanthiribe@gmail.com
Coding is based on attached reference

Cite As

Abbas Manthiri S (2024). Multi Class Confusion Matrix (https://www.mathworks.com/matlabcentral/fileexchange/60900-multi-class-confusion-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

confusion matrix/

confusion matrix/html/

Version Published Release Notes
2.1.0.0

small typo changed
error now give correct value

2.0.0.0

Bugs removed
Added sub Accuracy for each by in total and alone

1.601.0.0

nothing changed

1.52.0.0

Name changed

1.51.0.0

publish view improved
to view click on demo

1.31.0.0

Clear Publish view

1.6.0.0

code improved

1.5.0.0

Coding converted to class method

1.3.0.0

html view

1.2.0.0

bugs removed

1.1.0.0

extra datum given to output

1.0.0.0

bugs removed