Short Messaging Service (SMS) becomes a more easy, affordable way to communicate and increasingly replace phone calls. Spam is any kind of unwanted, random unsolicited message that gets sent without any authorization from the receiver. hackers use spam SMS to get their important information. Effective spam detection is an essential tool for assisting users in determining whether an SMS is a spam or not. Different machine learning methods such as Deep Learning techniques have attempted to distinguish between spam and ham SMS texts. This paper proposes the Spam-Ham Classification method using Recurrent Neural Networks (RNN) and Long Short-Term Memories (LSTM). The proposed model utilizes Keras and TensorFlow to detect Spam SMS. The dataset used is SpamSMSCollection from the UCI machine learning repository. The dataset contains a set of 5574 SMS messages. The dataset is preprocessed using tokenization, Lemmatization, padding, and stopword removal. The overall accuracy of the proposed model is 98%. The performance of the proposed method is compared with different machine learning algorithms such as Support Vector Machine (SVM), K-nearest neighbors (KNN), and Multi-layer Perceptron (MLP).
|