Novriyanto Novriyanto
Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru

Published : 2 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 2 Documents
Search

Klasifikasi Sentimen Pada Dataset yang Terbatas Menggunakan Algoritma Convolutional Neural Network M Ridho Saputra; Surya Agustian; Jasril Jasril; Novriyanto Novriyanto
Bulletin of Computer Science Research Vol. 5 No. 4 (2025): June 2025
Publisher : Forum Kerjasama Pendidikan Tinggi (FKPT)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47065/bulletincsr.v5i4.613

Abstract

This study aims to analyze public responses to the appointment of Kaesang Pangarep as the Chairman of the Indonesian Solidarity Party (PSI) using a sentiment classification approach based on the Convolutional Neural Network (CNN) algorithm. The primary dataset consists of 300 Indonesian-language tweets categorized into three sentiment classes: positive, negative, and neutral. The limited size of the training data presents a major challenge, as it can hinder the model's ability to generalize. To address this issue, data augmentation was carried out by incorporating external datasets with Covid-19 and Open Topic themes. The preprocessing stages include text cleaning, normalization, and tokenization. The developed CNN model utilizes a layered architecture and applies regularization techniques such as L2 and dropout to reduce the risk of overfitting. Accuracy, F1-score, precision, and recall were used as performance evaluation metrics. Experimental results show that the best performance was achieved when the Kaesang and Covid-19 datasets were combined, yielding an F1-score of 0.62 on the validation set and 0.51 on the test set. These findings indicate that adding external data can improve classification accuracy, even under limited data conditions. This study contributes to the development of deep learning-based sentiment classification methods for Indonesian-language texts.
Optimasi Klasifikasi Hate Speech dan Offensive Language melalui Frozen RoBERTa Feature Extraction dan Random Forest Marsha Cahyani Dwisyakilla; Surya Agustian; Novriyanto Novriyanto; Muhammad Affandes
Bulletin of Computer Science Research Vol. 6 No. 4 (2026): June 2026
Publisher : Forum Kerjasama Pendidikan Tinggi (FKPT)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47065/bulletincsr.v6i4.1157

Abstract

Hate speech and offensive content detection on social media remains a significant challenge in Natural Language Processing (NLP) due to the characteristics of Twitter data, which are typically short, informal, and contain various elements such as mentions, URLs, hashtags, and emotional expressions that complicate the classification process. End-to-end Transformer fine-tuning approaches generally require substantial computational resources; therefore, this study explores a more computationally efficient approach by utilizing RoBERTa as a frozen feature extractor combined with Random Forest as the classifier. This approach enables the exploitation of contextual representations generated by Transformer models without requiring full model retraining.The study employs the HASOC 2021 English Track dataset, which consists of two classification tasks: Task A for binary classification (HOF and NOT) and Task B for multi-class classification (HATE, OFFN, PRFN, and NONE). The classification pipeline is optimized through the incorporation of handcrafted features, oversampling, Random Forest hyperparameter tuning, and threshold tuning in specific scenarios. Model performance is evaluated using accuracy, precision, recall, and F1-macro, with F1-macro serving as the primary metric due to class imbalance. The best-performing model achieved an F1-macro score of 0.80 on Task A and 0.64 on Task B. These results indicate that the combination of frozen RoBERTa representations and Random Forest provides strong performance for binary hate speech and offensive content classification. However, the performance on Task B highlights the difficulty of distinguishing linguistically similar categories, such as HATE, OFFN, and PRFN, suggesting that fine-grained multi-class classification remains a challenging task. Overall, the findings indicate that RoBERTa-based frozen feature extraction constitutes a computationally efficient alternative for hate speech detection on English Twitter data, although further improvements are required to enhance performance in multi-class classification settings.