Claim Missing Document
Check
Articles

Found 6 Documents
Search
Journal : journal of applied informatics and computing

Sentiment Analysis of President Prabowo's Performance on Twitter (X) with a Comparative Study of SVM, XGBoost, and AdaBoost Maruf, Anang; Pajri, Afril Efan; Liana, Putri
Journal of Applied Informatics and Computing Vol. 10 No. 1 (2026): February 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i1.12138

Abstract

This study was conducted to understand how Twitter (X) users respond to President Prabowo's performance through machine learning-based sentiment analysis. Data was collected using a dataset crawling approach, then processed through a series of pre-processing stages such as cleansing, case folding, tokenisation, stopword removal, and stemming before being converted into a numerical representation with TF-IDF. The class imbalance problem was addressed by applying SMOTE so that the model could learn more evenly. Three classification algorithms, SVM, XGBoost, and AdaBoost, were tested with the help of GridSearchCV to obtain the best parameter configuration. The research evaluation showed that the XGBoost algorithm was able to provide the best performance with an accuracy of 0.8443, followed by the SVM algorithm with an RBF kernel, which achieved an accuracy of 0.8135. The AdaBoost algorithm came in third with an accuracy of 0.7868. These findings indicate that the boosting approach, especially XGBoost, is better able to handle complex language patterns and high-dimensional text data characteristics. Overall, this study provides an overview of public opinion trends on social media and can be used as a reference for the development of sentiment analysis models in future research.
Classification Of Student Depression Using Support Vector Machine Modelling and Backward Elimination Sabar, Rohmat Abidin; Pajri, Afril Efan; Budiani, Jauhara Rana
Journal of Applied Informatics and Computing Vol. 10 No. 1 (2026): February 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i1.12203

Abstract

Depression among university students has become a serious mental health concern that can negatively affect academic performance and overall well-being. Early detection of Depression is essential to provide timely support and preventive interventions. This study proposes a machine learning approach to classify student Depression using a Support Vector Machine (SVM) combined with Backward Elimination (BE) for feature selection. The dataset used in this research was obtained from a public repository and consists of 502 student records with multiple psychological and demographic attributes. Data preprocessing included categorical encoding and Min–Max normalization, followed by an 80:20 split for training and testing. Experimental results show that the baseline SVM model achieved an accuracy of 0.9208, while the application of Backward Elimination improved the performance to 0.9604. In addition, precision, recall, and F1-score also showed notable improvements, indicating a reduction in misclassification, particularly for non-depressed students. These findings demonstrate that integrating feature selection with SVM can enhance classification performance and provide a more efficient model for supporting early Depression detection among university students.
TikTok Sentiment Analysis on Koperasi Merah Putih Using SVM and ANN Meliysa Pasa Bagna Aprilia Said; Kholifatus Sholihah; Ifnu Wisma Dwi Prastya; Afril Efan Pajri
Journal of Applied Informatics and Computing Vol. 10 No. 4 (2026): August 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i4.13394

Abstract

TikTok has become a relevant social media source for observing public responses to public issues, including the Koperasi Merah Putih program. This study compares Support Vector Machine (SVM) and Artificial Neural Network (ANN) for classifying sentiment in TikTok comments. The dataset was obtained through TikTok comment scraping and consisted of 25,669 raw comments. After removing empty comments and applying preprocessing stages consisting of cleaning, case folding, normalization, tokenization, stopword removal, and stemming, 21,026 comments were used for sentiment analysis. Sentiment labels were generated automatically using a lexicon-based sentiment labeling approach and grouped into three classes: positive, negative, and neutral. TF-IDF was used for feature extraction with a maximum of 5,000 features and unigram-bigram representation. The dataset was split into training and testing sets with an 80:20 ratio, while Stratified K-Fold Cross Validation and SMOTE were applied to strengthen evaluation and address class imbalance. The results show that SVM achieved the best overall performance before SMOTE with an accuracy of 86.66% and an F1-score of 86.76%. ANN achieved an accuracy of 85.31% before SMOTE and improved slightly after SMOTE to 85.47%. These findings indicate that SVM is more stable for TF-IDF-based TikTok comment classification, while SMOTE can improve ANN performance slightly but does not always increase all models equally.
Comparison of the Performance of K-Nearest Neighbor and Naive Bayes Algorithms for Sentiment Analysis of PinjamYuk Application User Reviews Using SMOTE and TF-IDF Lindya Rossita Handoko; Amelia Faza; Mula Agung Barata; Afril Efan Pajri
Journal of Applied Informatics and Computing Vol. 10 No. 4 (2026): August 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i4.13398

Abstract

The growth of online lending services has driven the increasing adoption of digital financial applications, providing users with convenient access to financial services. This growing number of users has generated a large volume of reviews on the Google Play Store, which can serve as a valuable source for understanding users’ perspectives on the benefits and performance of these applications. This study aims to compare the performance of the K-Nearest Neighbor (KNN) and Naive Bayes algorithms in classifying the sentiment of user reviews of the PinjamYuk application. The study uses a secondary dataset obtained from Kaggle, consisting of 500 user reviews of the PinjamYuk application on the Google Play Store during the 2023–2024 period. The reviews were categorized into three sentiment classes: positive, neutral, and negative, based on their rating scores. Because the class distribution in the dataset was imbalanced, the Synthetic Minority Oversampling Technique (SMOTE) was applied to balance the classes before the classification process. The research procedure included data preprocessing, feature extraction using Term Frequency–Inverse Document Frequency (TF-IDF), data balancing using SMOTE, and KNN parameter optimization using GridSearchCV. The models were evaluated using accuracy, precision, recall, F1-score, confusion matrix, stratified K-fold cross-validation, and the McNemar test. The results show that the Naive Bayes algorithm outperformed KNN. The stratified K-fold cross-validation results yielded an average accuracy of 81.0% for Naive Bayes and 80.8% for KNN. Furthermore, the McNemar test produced a p-value of 0.014 (p < 0.05), indicating that the performance difference between the two algorithms was statistically significant. These findings demonstrate that the Naive Bayes algorithm is more effective for analyzing user sentiment in reviews of the PinjamYuk application.
Impact of Normalization Methods on Credit Risk Classification with Imbalanced Data Rizky Ramadhan, Ahmad Abil; Nur Afifa, Gusti Wiwik; Barata, Mula Agung; Dwi Prastya, Ifnu Wisma; Pajri, Afril Efan
Journal of Applied Informatics and Computing Vol. 10 No. 5 (2026): October 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i5.13365

Abstract

Credit risk classification is an essential task in the financial sector to minimize loan default losses and maintain financial system stability. One of the main challenges in building accurate credit risk models is class imbalance, where the number of non-default cases significantly outnumbers default cases, causing classifiers to be biased toward the majority class. This study investigates the effect of two normalization methods, Z-Score and Min-Max, on the performance of Support Vector Machine (SVM) and Artificial Neural Network (ANN) classifiers for imbalanced credit risk prediction. Six experimental scenarios were designed, incorporating the Synthetic Minority Over-sampling Technique (SMOTE), Chi-Square feature selection, and GridSearchCV hyperparameter tuning. Experiments were conducted on a dataset of 4,801 loan records with a class imbalance ratio of 77:23, divided into 80% training and 20% testing using stratified sampling. Evaluation metrics include Accuracy, Precision, Recall, F1-Score, AUC-ROC, Matthews Correlation Coefficient (MCC), and Balanced Accuracy, with F1-Score as the primary metric given the imbalanced class distribution. The results demonstrate that Z-Score normalization, when applied in isolation, consistently outperforms Min-Max across both classifiers, with ANN achieving an accuracy of 95.42% and F1-Score of 0.9332 on the Z-Score scenario without SMOTE. However, the fully optimized pipeline combining Min-Max normalization, Chi-Square feature selection, SMOTE, and hyperparameter tuning surpassed this result, yielding the best overall performance with an ANN accuracy of 95.73%, F1-Score of 0.9393, and AUC-ROC of 0.9610. This indicates that Min-Max’s sensitivity to outliers can be effectively mitigated through appropriate feature selection and hyperparameter tuning. These findings provide empirical guidance for selecting optimal preprocessing strategies in imbalanced financial classification tasks.
Design and Development of an IoT-Based Vital Sign Monitoring System Using Mamdani Fuzzy Logic and Firebase Realtime Database Putri Liana; Muhammad Jauhar Vikri; Afril Efan Pajri
Journal of Applied Informatics and Computing Vol. 10 No. 5 (2026): October 2026
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v10i5.13727

Abstract

Vital sign monitoring plays an important role in supporting early detection of health conditions. However, most Internet of Things (IoT)-based health monitoring systems are limited to displaying physiological data without providing automatic health status classification and integrated real-time cloud-based monitoring. This study aims to design and develop an IoT-based vital sign monitoring system using Mamdani Fuzzy Logic and Firebase Realtime Database to classify health conditions into Normal, Alert, and Emergency categories. The proposed system employs a NodeMCU ESP8266 microcontroller, a MAX30102 sensor to measure heart rate and blood oxygen saturation (SpO₂), an MLX90614 sensor to measure body temperature, Firebase Realtime Database for cloud data synchronization, and a web-based monitoring dashboard. The Mamdani Fuzzy method utilizes three input variables with 15 fuzzy rules, Max–Min inference, and centroid defuzzification. Sensor validation was conducted on five healthy adult respondents aged 25–30 years by comparing the sensor measurements with reference medical devices. The MLX90614 sensor achieved a Mean Absolute Error (MAE) of 0.136°C, a Root Mean Square Error (RMSE) of 0.140°C, and a correlation coefficient of 0.998. For heart rate measurement, the MAX30102 sensor produced an MAE of 1.6 BPM, an RMSE of 1.673 BPM, and a correlation coefficient of 0.956, while SpO₂ measurement resulted in an MAE of 1.2%, an RMSE of 1.265%, and a correlation coefficient of 0.968. Verification of the Mamdani Fuzzy implementation against MATLAB simulation showed an average difference of 0.37 on a fuzzy output scale of 0–100 without affecting the resulting health status classification. The developed system successfully performs real-time vital sign monitoring and automatic health status classification through a web interface and Firebase Realtime Database. Nevertheless, the system is intended as an initial health monitoring support tool rather than a medical diagnostic device, as clinical validation with healthcare professionals has not yet been conducted.