Journal of Information Systems and Business Technology
Vol 2 No 3 (2026): Journal of Information Systems and Business Technology

Analisis Prediksi Harga Laptop Menggunakan Algoritma Linear Regression dan Random Forest Regressor

Adam Malik Saputra (Universitas Pamulang)
Remo Teguh Yudianto (Universitas Pamulang)
Almy Rizky Akbar (Universitas Pamulang)



Article Info

Publish Date
16 Jun 2026

Abstract

Laptop prices fluctuate greatly because of varying hardware specifications, making it tough for both buyers and sellers to estimate costs. Utilizing machine learning methods offers a useful way to forecast laptop prices based on their characteristics. This research seeks to examine and compare how well the Linear Regression and Random Forest Regressor algorithms can predict laptop prices. The dataset in use includes multiple laptop specifications such as RAM, CPU, GPU, storage size, display dimensions, and operating system. The research process consisted of data cleaning, analyzing feature correlations, encoding categorical data, dividing the data into training and testing sets, training the models, and assessing their performance. The metrics employed for evaluation were Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and R-Squared (R²). Findings reveal that the Random Forest Regressor surpassed Linear Regression in forecasting laptop prices. Random Forest recorded an MAE of 174. 50, an RMSE of 251. 49, and an R² score of 83. 72%, while Linear Regression achieved an MAE of 277. 16, an RMSE of 354. 12, and an R² score of 67. 72%. Additionally, the Actual vs Predicted analysis showed that the predictions made by Random Forest were more aligned with real laptop prices. Consequently, the Random Forest Regressor is regarded as the more efficient model for predicting laptop prices due to its superior accuracy and enhanced ability to understand complex relationships among the features.

Copyrights © 2026






Journal Info

Abbrev

jisbt

Publisher

Subject

Computer Science & IT Library & Information Science

Description

Journal of Information Systems and Business Technology (JISBT) adalah jurnal ilmiah yang didedikasikan khusus untuk pengembangan keilmuan di bidang Sistem Informasi. Jurnal ini menjadi wadah untuk penyebaran hasil penelitian, inovasi teknologi, serta pemikiran kritis yang berfokus pada penerapan dan ...