The third classifier we will cover is the MaxentClassifier
class, also known as a conditional exponential classifier or
logistic regression 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. For more details on the math behind this, see https://en.wikipedia.org/wiki/Maximum_entropy_classifier.
Python 3 Text Processing with NLTK 3 Cookbook
By :
Python 3 Text Processing with NLTK 3 Cookbook
By:
Overview of this book
Table of Contents (17 chapters)
Python 3 Text Processing with NLTK 3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Tokenizing Text and WordNet Basics
Replacing and Correcting Words
Creating Custom Corpora
Part-of-speech Tagging
Extracting Chunks
Transforming Chunks and Trees
Text Classification
Distributed Processing and Handling Large Datasets
Parsing Specific Data Types
Penn Treebank Part-of-speech Tags
Index
Customer Reviews