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. In this study, the random forest regression method will be applied to laptop product data 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 parameters that produced the optimal model. The best parameters obtained to build a random forest regression model are ntree = 400, mtry = 2, and nodesize = 2. The MAPE value of the training set for the random forest regression model is 14.3% which indicates the performance of the model has good forecasting ability because it is in the range of 10% £ MAPE < 20%. Based on the variable importance, the variable that has the greatest contribution to the laptop price prediction results is RAM with VI = 0.359. The results of the analysis show that the random forest regression method can be applied to predict laptop prices based on laptop features.
Fulltext View|Download
Keywords: Laptop Prices; Laptop Features; Random Forest Regression; Random Search CV; bootstrap

Article Metrics:

Last update:

No citation recorded.

Last update:

No citation recorded.