Skip to Content
Text Mining and Visualization
book

Text Mining and Visualization

by Markus Hofmann, Andrew Chisholm
January 2016
Intermediate to advanced content levelIntermediate to advanced
337 pages
11h 50m
English
Chapman and Hall/CRC
Content preview from Text Mining and Visualization
Text Classification Using Python 219
FIGURE 9.12: SVM scikit-learn model most informative features.
9.4 Conclusions
This chapter was a whistlestop tour through binary text classification using Python,
NLTK, and scikit-learn. Although testing was not exhaustive, it was found that the scikit-
learn Linear SVC classifier provided results that were slightly better than NLTK and scikit-
learn Na¨ıve Bayes.
Only the surface of these tools has been scratched and hopefully this chapter encourages
you to explore each tool in detail.
Bibliography
[1] The official home of the python programming language.
[2] The natural language toolkit.
[3] The official home of numpy:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Text Mining and Analysis

Text Mining and Analysis

Dr. Goutam Chakraborty, Murali Pagolu, Satish Garla
Practical Text Mining and Statistical Analysis for Non-structured Text Data Applications

Practical Text Mining and Statistical Analysis for Non-structured Text Data Applications

Gary D. Miner, John Elder, Andrew Fast, Thomas Hill, Robert Nisbet, Dursun Delen
Text Mining with R

Text Mining with R

Julia Silge, David Robinson

Publisher Resources

ISBN: 9781482237580