Performance Measures for Classification

This function evaluates the common performance measures for classification models.
5K Downloads
Updated 7 Aug 2012

View License

Classification models in machine learning are evaluated for their performance by common performance measures. This function calculates the following performance measures: Accuracy, Sensitivity, Specificity, Precision, Recall, F-Measure and G-mean. The signature of the function and description of the arguments are given below:

EVAL = Evaluate(ACTUAL,PREDICTED)
Input:
ACTUAL = Column matrix with actual class labels of the training examples
PREDICTED = Column matrix with predicted class labels by the classification model
Output:
EVAL = Row matrix with all the performance measures

Cite As

Barnan Das (2024). Performance Measures for Classification (https://www.mathworks.com/matlabcentral/fileexchange/37758-performance-measures-for-classification), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox 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!
Version Published Release Notes
1.0.0.0