Histogram-based class separability measure
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
-------------------------------
Citation pour cette source
Theodoros Giannakopoulos (2024). Histogram-based class separability measure (https://www.mathworks.com/matlabcentral/fileexchange/18791-histogram-based-class-separability-measure), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |