Skripsi
ANALISIS PERBANDINGAN KINERJA CONVOLUTIONAL NEURAL NETWORK DAN LONG SHORT-TERM MEMORY UNTUK KLASIFIKASI TEKS JUDI ONLINE
The rapid development of digital technology has increased the spread of online gambling promotional content across various digital platforms, making manual moderation less effective. This study aims to develop an online gambling text classification model using Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM). CNN was selected for its ability to recognize important word patterns, while LSTM is effective in understanding context and relationships between words. The dataset used was obtained from Kaggle and consisted of 10,230 data entries with two classes: “Online Gambling” and “Non-Online Gambling.” The preprocessing stages included Unicode Normalization, Data Cleaning, Case Folding, Normalization, Number Handling, Stopwords Removal, Tokenizing, Stemming, and duplicate data removal. Text representation was performed using Word2Vec before being processed by the deep learning models. Model performance was evaluated using Accuracy, Precision, Recall, and F1-Score. The results showed that LSTM outperformed CNN. The best model was obtained using LSTM with a learning rate of 0.001, batch size of 64, and early stopping at the 8th epoch, achieving an Accuracy of 0.9625 and an F1-Score of 0.9560. These results indicate that LSTM is more effective in understanding text context for detecting indications of online gambling.