Computing the posterior balanced accuracy

A set of MATLAB functions for evaluating generalization performance in binary classification.

You are now following this Submission

In binary classification, the average accuracy obtained on individual cross-validation folds is a problematic measure of generalization performance. First, it makes statistical inference difficult. Second, it leads to an optimistic estimate when a biased classifier is tested on an imbalanced dataset. Both problems can be overcome by replacing the conventional point estimate of accuracy by an estimate of the posterior distribution of the balanced accuracy.

This archive contains a set of MATLAB functions to estimate the posterior distribution of the balanced accuracy and compute its associated statistics.

For full details, see:

K.H. Brodersen, C.S. Ong, K.E. Stephan, J.M. Buhmann (2010)
The balanced accuracy and its posterior distribution.
Proceedings of the 20th International Conference on Pattern Recognition, 3121-3124.

Cite As

Kay H. Brodersen (2026). Computing the posterior balanced accuracy (https://www.mathworks.com/matlabcentral/fileexchange/29244-computing-the-posterior-balanced-accuracy), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0