Proyeksi Tren Kategori Pakaian Mendatang Menggunakan Random Forest pada Data Transaksi Pelanggan

  • Nur Aini Umar Institut Teknologi dan Bisnis Nobel Indonesia, Indonesia
  • Andi Ircham Hidayat Hidayat * Mail Institut Teknologi dan Bisnis Nobel Indonesia, Indonesia
  • Eka Wijaya Paula Institut Teknologi dan Bisnis Nobel Indonesia, Indonesia
Keywords: Random Forest; XGBoost; prediksi tren; fesyen; data transaksi

Abstract

The dynamic fashion industry requires accurate trend projections for marketing and product development. This study aims to project future clothing trends using Random Forest as the primary model and XGBoost as the secondary model. The main dataset contains 3,900 transactions with demographic information, purchase history, seasonal data, and product categories. For local context, inventory data from the “Coffer Ruh” fashion store was integrated as a companion case study. The methodology included preprocessing, handling class imbalance with SMOTE, stratified splitting (80:20), training Random Forest and XGBoost, and evaluation using accuracy, precision, recall, F1-score, and a confusion matrix. Evaluation results (Outerwear, Footwear, Bottoms, Tops, Accessories) show that Random Forest achieved an accuracy of 67.56%, weighted precision of 68.04%, recall of 67.56%, and an F1-score of 67.79%, while XGBoost demonstrated similar performance with an accuracy of approximately 68%. The Random Forest model projected Jackets (17%), Coats (12%), and Shoes (10%) as the top three global trend categories. Store data analysis revealed the highest stock levels for children’s masks (35 pcs), red cornersticks (33 pcs, coats), and drams (31 pcs, jackets). There is some alignment: two of the three products with the highest inventory are outerwear items that align with global trends; however, masks are not a predicted apparel category. Due to limitations in the store data (small sample size, lack of time/transaction dimensions), transfer learning or hybrid dataset approaches cannot yet be applied, which is identified as a limitation and a direction for future research.

References

ANALISIS MACHINE LEARNING UNTUK PREDIKSI PENYAKIT PARU-PARU MENGGUNAKAN RANDOM FOREST | Journal of Innovation And Future Technology. (n.d.). Retrieved May 12, 2026, from https://ejournal.lppm-unbaja.ac.id/index.php/iftech/article/view/3906

Analisis Perbandingan Prediksi Harga Rumah Dengan Random Forest, Gradient Boosting, dan XGBoost | Intellect: Indonesian Journal of Learning and Technological Innovation. (n.d.). Retrieved May 12, 2026, from https://www.journal.makwafoundation.org/index.php/intellect/article/view/1385

Azmi, B. N., Hermawan, A., & Avianto, D. (2023). Analisis Pengaruh Komposisi Data Training dan Data Testing pada Penggunaan PCA dan Algoritma Decision Tree untuk Klasifikasi Penderita Penyakit Liver. Jurnal Teknologi Informasi Dan Multimedia, 4(4), 281–290. https://doi.org/10.35746/jtim.v4i4.298

Big Data in fashion: Transforming the retail sector | Journal of Business Strategy | Emerald Publishing. (n.d.). Retrieved March 4, 2026, from https://www.emerald.com/jbs/article-abstract/41/4/21/196981/Big-Data-in-fashion-transforming-the-retail-sector?redirectedFrom=fulltext

Customer Shopping Trends Dataset. (n.d.). Retrieved March 4, 2026, from https://www.kaggle.com/datasets/iamsouravbanerjee/customer-shopping-trends-dataset

Fernanda, M., Setiawati, R. I. S., & Wahed, M. (2024). Penerapan Analisis Keranjang Belanja Pasar untuk Manajemen Ketersediaan Stok dalam Ekonomi Industri: Mengantisipasi Perubahan Tren. JURNAL RUMPUN MANAJEMEN DAN EKONOMI, 1(1), 184–190. https://doi.org/10.61722/jrme.v1i1.1153

Haeruddin, H., Erick, E., & Aripradono, H. W. (2025). Perbandingan Support Vector Machine, Random Forest Classifier, dan K-Nearest Neighbour dalam Pendeteksian Anomali pada Jaringan DDos. Jurnal Teknologi Informasi Dan Multimedia, 7(1), 23–33. https://doi.org/10.35746/jtim.v7i1.628

Implementasi Ensemble Learning Metode XGBoost dan Random Forest untuk Prediksi Waktu Penggantian Baterai Aki | BIOS : Jurnal Teknologi Informasi dan Rekayasa Komputer. (n.d.). Retrieved May 12, 2026, from https://www.bios.sinergis.org/bios/article/view/128

Irfan, M. (2025). Analisis Data pada Transaksi Bitcoin untuk Prediksi Harga Menggunakan Algoritma Random Forest (Data Analysis on Bitcoin Transactions for Price Prediction Using the Random Forest Algorithm).

Kartika, R., & Saputra, R. D. H. U. N. R. (2025). DECISION TREE-BASED PREDICTIVE MODELING FOR MOBILE PAYMENT TRANSACTION SUCCESS: A CASE STUDY OF SHOPEEPAY AND DANA. JATI (Jurnal Mahasiswa Teknik Informatika), 9(5), 8895–8899. https://doi.org/10.36040/jati.v9i5.15245

Mualfah, D., Fadila, W., & Firdaus, R. (2022). Teknik SMOTE untuk Mengatasi Imbalance Data pada Deteksi Penyakit Stroke Menggunakan Algoritma Random Forest. Jurnal CoSciTech (Computer Science and Information Technology), 3(2), 107–113. https://doi.org/10.37859/coscitech.v3i2.3912

Oh, J. (2023). Classification and regression tree approach for the prediction of the seasonal apparel market: Focused on weather factors. Journal of Fashion Marketing and Management, 28(5), 893–910. https://doi.org/10.1108/JFMM-12-2022-0266

Optimizing Credit Scoring Performance Using Ensemble Feature Selection with Random Forest | Jurnal Matematika, Statistika dan Komputasi. (n.d.). Retrieved March 4, 2026, from https://journal.unhas.ac.id/index.php/jmsk/article/view/42032

Permana, E., & Susilo, J. (2025). Optimasi Prediksi Jumlah Kontainer Aktual di Kapal Menggunakan Random Forest dan XGBoost dengan Hyperparameter Tuning. Jurnal Informatika Dan Bisnis, 14(2), 114–132. https://doi.org/10.46806/jib.v14i2.1921

Rahman, A. (2025). URGENSI PEMBUATAN MODEL PREDIKTIF DALAM TATA KELOLA BISNIS. Jurnal Ilmiah Multidisiplin Ilmu, 2(2), 78–87. https://doi.org/10.69714/jvtm6q52

Rana, S. M. S., Azim, S. M. F., Arif, A. R. K., Sohel, M. S. I., & Priya, F. N. (2024). Investigating online shopping behavior of generation Z: An application of theory of consumption values. Journal of Contemporary Marketing Science, 7(1), 17–37. https://doi.org/10.1108/JCMARS-03-2023-0005

Riansah, A., Nurdiawan, O., & Herdiana, R. (2025). PENERAPAN ALGORITMA RANDOM FOREST DAN DECISION TREE UNTUK MENINGKATKAN AKURASI KLASIFIKASI PENJUALAN PADA TOKO BANGUNAN. JATI (Jurnal Mahasiswa Teknik Informatika), 9(3), 4242–4249. https://doi.org/10.36040/jati.v9i3.13622

Riptiono, S. (2025). Pemasaran Digital dan Customer Relationship Management: Upaya Meningkatkan Kemampuan UMKM dalam Membangun Relasi Pelanggan. JCSE: Journal of Community Service and Empowerment, 6(1), 65–73. https://doi.org/10.32639/sgm19c75

Roslow, S., Li, T., & Nicholls, J. A. F. (2000). Impact of situational variables and demographic attributes in two seasons on purchase behaviour. European Journal of Marketing, 34(9–10), 1167–1180. https://doi.org/10.1108/03090560010342548

Sandy, B. (2024). Implementasi Metode Random Forest untuk Memprediksi Penjualan (Studi Kasus Chatime Binjai Supermall) [Thesis, Universitas Medan Area]. https://repositori.uma.ac.id/handle/123456789/26311

Sulaeman, A. S., Agustian, T. Y., & Sunge, A. S. (2025). Komparasi Algoritma MultipleLinearRegression, Random Forest, dan XGBoostuntuk Prediksi Pengangguran Terbuka Berdasarkan Tingkat Pendidikan di Jawa Barat. 7(3).

Susanto, E. R., & Saputra, E. (2025). Implementation of Deep Learning with Multilayer Perceptron (MLP) for Heart Disease Prediction Using the SMOTE-ENN Technique. Journal of Applied Informatics and Computing, 9(3), 1034–1041. https://doi.org/10.30871/jaic.v9i3.9337

Dimensions Badge
Published
2026-07-12
Section
Articles