Brian Colin Chang
Universitas Prima Indonesia

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

Found 1 Documents
Search

Comparative Analysis of Linear Regression Algorithms and Random Forest for Skincare Product Sales Prediction of Skincare Products on the Tokopedia Marketplace Brian Colin Chang; Widodo Tjiawie; Jervis Patrick; Justine Thorino; Delima Sitanggang
JURNAL TEKNOLOGI DAN ILMU KOMPUTER PRIMA (JUTIKOMP) Vol. 9 No. 1 (2026): Jurnal Teknologi dan Ilmu Komputer Prima (JUTIKOMP)
Publisher : Fakultas Teknologi dan Ilmu Komputer Universitas Prima Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.34012/jutikomp.v9i1.7906

Abstract

This study aims to evaluate and compare the performance of Linear Regression and Random Forest algorithms in predicting skincare product sales on the Tokopedia platform. Accurate sales predictions play a strategic role for businesses, particularly in pricing policy formulation, product positioning, and more efficient inventory management. The data used included 7,217 skincare products with six main variables, which were then expanded into 21 features through preprocessing and feature engineering stages, including product type extraction, main benefits, seller characteristics, location tier, and price position category. The model was developed and tested using a training and testing data split with a ratio of 80:20. The analysis results showed that the Random Forest algorithm performed better than Linear Regression. In the test data, Random Forest achieved an R² value of 0.2115 with an RMSE of 32,754.23 and an MAE of 12,073.59. In contrast, Linear Regression only obtained an R² of 0.0245 with an RMSE of 36,431.74 and an MAE of 14,688.99. Although the R² value is relatively low, the results are still realistic considering the complexity of e-commerce sales behavior, which is influenced by various external factors. Feature importance analysis shows that price and price per unit are the most dominant factors, followed by rating, number of product benefits, brand category, and product type. Based on these findings, Random Forest is recommended as a more suitable model to support skincare product sales predictions on Tokopedia, mainly due to its ability to capture non-linear patterns and interactions between features. This study is expected to contribute to the development of data-driven marketing strategies, particularly in pricing, multi-benefit product development, and skincare portfolio management on marketplace platforms.