The third classifier which we will cover is the
MaxentClassifier, also known as a conditional exponential classifier. The maximum entropy classifier converts labeled feature sets to vectors using encoding. This encoded vector is then used to calculate weights for each feature that can then be combined to determine the most likely label for a feature set.
MaxentClassifier requires the
numpy package, and optionally the
scipy package. This is because the feature encodings use
numpy arrays. Having
scipy installed also means you will be able to use faster algorithms that consume less memory. You can find installation for both at http://www.scipy.org/Installing_SciPy.
Many of the algorithms can ...