Abstract
Text classification is an ML technique that assigns a set of predefined tags to open text, and text classifiers have been used to structure, organize, and categorize any sort of text data ranging from documents, files, medical studies, to the overall web. This chapter will provide you with the text classification techniques in python. In addition, it focuses on training a supervised learning model to do text classification with a real-time case study.
Keywords: Decision trees, KNN, Naïve Bayes, Support vector machines, Text classification.