Histogram-based class separability measure

The provided functions demonstrate a histogram-based measure for class separability, given the sampl

You are now following this Submission

The provided functions demonstrate a histogram-based measure for class separability, given the samples from two classes (binary classification problem). The proposed error classification estimation method is described in (B) and it is based on estimating the pdf of each class using histograms. The function that estimates the class seperability method is computeHistError(). Function theoreticalError() computes the theoretical error for two Gaussian distributed classes. Function testClassSeperability() calls the other two functions and displays the results for two Gaussian distributed functions. It has to be noted that computeHistError() can be used for any kind of class distribution, since it estimates the pdf of each class using the histogram method.

We can use computeHistError() in order to estimate the separabilty of a binary classification problem, given the training samples of the two classes.

-------------------------

Example

In order to execute the demo, call the testClassSeperability():

testClassSeperability(10000,1.0, 1.0, 3.0, 2.0, 1);

-------------------------------
Theodoros Giannakopoulos
http:/www.di.uoa.gr/~tyiannak
-------------------------------

Cite As

Theodoros Giannakopoulos (2026). Histogram-based class separability measure (https://www.mathworks.com/matlabcentral/fileexchange/18791-histogram-based-class-separability-measure), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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