skip to main content

PENERAPAN MODEL REGRESI RANDOM FOREST UNTUK PREDIKSI HARGA LAPTOP BERDASARKAN FITUR LAPTOP

*Iftahli Nurol Ilmi  -  Departemen Statistika, Universitas Diponegoro, Jl. Prof. Sudarto, SH, Tembalang, Semarang, Indonesia 50275, Indonesia
Mustafid Mustafid  -  Departemen Statistika, Fakultas Sains dan Matematika, Universitas Diponegoro, Indonesia, Indonesia
Suparti Suparti  -  Departemen Statistika, Fakultas Sains dan Matematika, Universitas Diponegoro, Indonesia, Indonesia
Open Access Copyright 2025 Jurnal Gaussian under http://creativecommons.org/licenses/by-nc-sa/4.0.

Citation Format:
Abstract
The increasing use of computer science systems in various fields of work is driving the growth of laptop. There are many choices of laptop products with different specifications. Laptop price predictions can help consumers to find out the price range of laptops according to the laptop features they want. This study aims to apply the random forest regression method to predict laptop price based on laptop features. The data is splitted into 2 parts, 1130 data as training set and 283 data as testing set. Hyperparameters tuning was performed using random search CV with 10 fold cross-validation to find the combination of hyperparameters that produced the optimal model. The best hyperparameters obtained to build a random forest regression model are ntree = 400, mtry = 2, and nodesize = 2. The MAPE value of the testing set for the random forest regression model is 14,3% which indicates the performance of the model has good forecasting ability. The results of the analysis show that the random forest regression method can be applied to predict laptop prices based on laptop features. Based on the variable importance, the variable that has the greatest contribution to the laptop price prediction results is RAM with VI = 0,359.
Fulltext View|Download
Keywords: Laptop Prices; Laptop Features; Random Forest Regression; Random Search CV; bootstrap

Article Metrics:

  1. Argamosa, R. J. L. dkk., Modelling Above Ground Biomass of Mangrove Forest Using Sentinel-1 Imagery, ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 2018, Vol. 4, No. 3: 13-20
  2. Breiman, L., Friedman, J., Olshen, R. A., dan Stone, C. J., Classification and Regression Trees, Routledge, New York, 1984
  3. Breiman, L., Random Forests, Machine Learning, 2001, Vol. 45, No. 1: 5-32
  4. Chang, P. C., Wang, Y. W., dan Liu, C. H., The Development of a Weighted Evolving Fuzzy Neural Network for PCB Sales Forecasting, Expert Systems with Application, 2007, Vol. 32, No. 1: 86-96
  5. Chen, F. H. dan Howard, H., An Alternative Model for The Analysis of Detecting Electronic Industries Earnings Management using Stepwise Regression, Random Forest, and Decision Tree, Soft Computing, 2015, Vol. 20, No. 5: 1945-1960
  6. Hastie, T., Tibshirani, R., dan Friedman, J., The Elements of Statistical Learning: Data Mining, Interface, and Prediction (Second Edition), Springer, New York, 2009
  7. International Data Corporation (IDC), Asia/Pacific PC Market Grew by 15.9% in 2021 Due to Continued Demand and Recovery of Supllies, 2022, URL: https://www.idc.com/getdoc.jsp?containerId=prAP48976922
  8. Janitza, S. dan Hornung, R., On The Overestimation of Random Forest’s Out-of-bag Error, PLoS One, 2018, Vol. 13, No. 8: 1-31
  9. Jatmiko, Y. A., Padmadisastra, S., dan Chadidjah, A., Analisis Perbandingan Kinerja CART Konvensional, Bagging dan Random Forest pada Klasifikasi Objek: Hasil dari Dua Simulasi, Media Statistika, 2019, Vol. 12, No. 2: 1-12
  10. Pal, N. dkk., How Much is My Car Worth? A Methodology for Predicting Used Cars Prices using Random Forest, Future of Information and Communications Conference, 2018: 1-6
  11. Radohenko, V., Kashnitsky, Y., dan Parshutsuch, M., Topic 5 Ensembles and Random Forest Part 3 Feature Importance, 2023, URL: https://mlcourse.ai/book/topic05/topic5_part3_feature_importance.html#topic05-part3
  12. Raschka, S., Model Evaluation, Model Selection, and Algorithm Selection in Machine Learning, 2018, arXiv:1811.12808
  13. Scornet, E., Random forests and kernel methods, IEEE Transactions on Information Theory, 2016, Vol. 62, No. 3: 1485-1500
  14. Xu, Z. dkk., Water Price Prediction for Increasing Market Efficiency Using Random Forest Regression: A Case Study in the Western United States, Water, 2019, Vol. 11, No. 228: 1-20
  15. Yu, T. dan Zhu, H., Hyper-Parameter Optimization: A Review of Algorithms and Applications, 2020, arXiv abs/2003.05689
  16. Zabinsky, Z. B., Random Search Algorithms, Wiley Encyclopedia of Operations Research and Management Science, 2010: 1-13

Last update:

No citation recorded.

Last update:

No citation recorded.