Skip to main content

BREW: Python Multiple Classifier System API

Project description

BREW: A Multiple Classifier Systems API

This project was started in 2014 by Dayvid Victor and Thyago Porpino for the project of the Multiple Classifier Systems class at Federal University of Pernambuco.

The aim of this project is to provide a structure for Ensemble Generation, Ensemble Pruning, and Static and Dynamic selection of classifiers.


  • Python 2.6+

  • scikit-learn >= 0.14.1

  • Numpy >= 1.3

  • SciPy >= 0.7

  • Matplotlib >= 0.99.1 (for examples, only)


  • Dynamic Classifier Selection: OLA, LCA, A Priori, A Posteriori.

  • Dynamic Ensemble Selection: KNORA E and KNORA U.

  • Oversampling: SMOTE.

  • Ensemble Combination Rules: majority vote, min, max, mean and median.

  • Ensemble Diversity Metrics: Entropy Measure E, Kohavi Wolpert Variance, Q Statistics, Correlation Coefficient p, Disagreement Measure, Agreement Measure, Double Fault Measure.

  • Ensemble Classifier Generators: Bagging (sklearn wrapper), Random Subspace (sklearn wrapper), SMOTE Bagging.

Important References

  • Kuncheva, Ludmila I. Combining pattern classifiers: methods and algorithms. John Wiley & Sons, 2014.

  • Zhou, Zhi-Hua. Ensemble methods: foundations and algorithms. CRC Press, 2012.


The full documentation is at


0.1.0 (2014-11-12)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (34.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page