Text Classification Model – Classify Text SMS As Spam Or Ham
Text Classification is a technique using which we organize or group text with some labels or categories. It is also known as Text Tagging. For example, “I am feeling very happy and energetic today”. According to Sentiment Analysis/ Text Classification, we can classify it as ‘Positive’. We use various Machine Learning algorithms/ Deep Learning techniques along with Natural language Processing (NLP) to organize text data. This article will discuss how a pre-trained Machine Learning model can classify a given text SMS as Spam or Ham. The Text Classification Model is based on the Multinomial Naive Bayes Algorithm. The complete code is written in Python Programming Language.