Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : International Journal Software Engineering and Computer Science (IJSECS)

K-Nearest Neighbor for Gorontalo City Chili Price Prediction Using Feature Selection, Backward Elimination, and Forward Selection Labolo, Abdul Yunus; Utiarahman, Siti Andini; Lasulika, Mohamad Efendi; Drajana, Ivo Colanus Rally; Bode, Andi
International Journal Software Engineering and Computer Science (IJSECS) Vol. 3 No. 3 (2023): DECEMBER 2023
Publisher : Lembaga Komunitas Informasi Teknologi Aceh (KITA)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.35870/ijsecs.v3i3.1709

Abstract

This study addresses chili price volatility, an important concern that impacts the national economy and societal welfare. Fluctuations in chili prices in the retail market greatly influence market demand, thereby influencing farming decisions, especially chili cultivation. To help make better decisions, Researchers use forecasting, which is defined as the projection of future trends based on the analysis of historical data, using statistical methods. The K-Nearest Neighbor (K-NN) algorithm is used because of its resistance to high noise on large training datasets. However, challenges arise in determining the optimal value of 'k' and selecting related attributes. To overcome this, Feature Selection is applied to refine the model by removing irrelevant features, resulting in a significant reduction in the model error rate. This improvement indicates an increase in the efficiency of the K-NN algorithm with the incorporation of Feature Selection. Our findings show that the model, with backward elimination in Feature Selection, achieves a Root Mean Square Error (RMSE) of 0.202, outperforming the model using forward selection. The prediction accuracy of this model reaches an average of 78.86%, which is much higher than the baseline data of 50%. This shows the success of the proposed method in predicting chili prices.