Tohirin Al Mudzakir
Universitas Buana Perjuangan Karawang, Karawang

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

Found 2 Documents
Search
Journal : bulletin of computer science research

Perbandingan Algoritma Logistic Regression dan K-Nearest Neighbor Dalam Klasifikasi Kematangan Buah Pepaya Wildan Amin Wiharja; Tohirin Al Mudzakir; Hilda Yulia Novita; Jamaludin Indra
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.550

Abstract

Visual assessment of papaya ripeness often leads to inconsistent and low accuracy results. To address this, the study applies Logistic Regression and K-Nearest Neighbor (K-NN) algorithms for automatic classification using digital image processing. The initial dataset consisted of 300 images, which were expanded to 1,200 through preprocessing and augmentation. Features were extracted using the Gray Level Co-occurrence Matrix (GLCM) method, and the data was split into 80% for training and 20% for testing. The study aims to compare the performance of both algorithms and understand their classification mechanisms. Results show that K-NN with k=1 achieved an accuracy of 87%, while Logistic Regression with L2 regularization reached 73%, indicating that K-NN outperforms Logistic Regression in classifying papaya ripeness levels.
Prediksi Pola Pergerakan Saham Adro.Jk Melalui Model LSTM Berbasis Data Historis Muhammad Irsyad Iskandar; Tohirin Al Mudzakir; Yana Cahyana; Adi Rizky Pratama
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.554

Abstract

The fluctuating nature of stock price movements presents a significant challenge in investment decision-making. To address this issue, a predictive model capable of capturing historical patterns and accurately forecasting stock prices is required. This study aims to develop a stock price prediction model for PT Alamtri Resources Indonesia Tbk (ADRO.JK) using the Long Short-Term Memory (LSTM) algorithm. The dataset comprises daily closing prices from January 1, 2020, to December 30, 2024, obtained from Yahoo Finance. The data was processed in a time series format using a sliding window approach, employing 30 historical data points to predict the next price point. The model was constructed using two LSTM layers, one Dense layer, and techniques such as Dropout and EarlyStopping to prevent overfitting.The training and testing results indicate that the model performs exceptionally well, achieving a Mean Absolute Percentage Error (MAPE) of 0.0341 or 3.41%, corresponding to a prediction accuracy of 96.59%. In a short-term prediction scenario over seven days, the model achieved an accuracy of 99.07% (MAPE = 0.0093), while in a medium-term scenario up to May 19, 2025, it achieved an accuracy of 98.76% (MAPE = 0.0124). The predicted stock price on May 19, 2025, is estimated at IDR 1,913.76. With its high accuracy and low error rate, the LSTM model has proven to be a reliable tool for forecasting stock prices based on historical data.