Published: 2023-12-01
K-Nearest Neighbor for Gorontalo City Chili Price Prediction Using Feature Selection, Backward Elimination, and Forward Selection
DOI: 10.35870/ijsecs.v3i3.1709
Abdul Yunus Labolo, Siti Andini Utiarahman, Mohamad Efendi Lasulika, Ivo Colanus Rally Drajana, Andi Bode
- Abdul Yunus Labolo: Universitas Ichsan Gorontalo , Indonesia .
- Siti Andini Utiarahman: Universitas Ichsan Gorontalo , Indonesia .
- Mohamad Efendi Lasulika: Universitas Ichsan Gorontalo , Indonesia .
- Ivo Colanus Rally Drajana: Universitas Pohuwato , Indonesia
- Andi Bode: Universitas Ichsan Gorontalo , Indonesia .
Article Metrics
- Views 0
- Downloads 0
- Scopus Citations
- Google Scholar
- Crossref Citations
- Semantic Scholar
- DataCite Metrics
-
If the link doesn't work, copy the DOI or article title for manual search (API Maintenance).
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.
Keywords
Chili Price Prediction ; K-Nearest Neighbor (K-NN) ; Feature Selection ; Market Demand ; Forecasting Accuracy
Article Metadata
Peer Review Process
This article has undergone a double-blind peer review process to ensure quality and impartiality.
Indexing Information
Discover where this journal is indexed at our indexing page to understand its reach and credibility.
Open Science Badges
This journal supports transparency in research and encourages authors to meet criteria for Open Science Badges by sharing data, materials, or preregistered studies.
How to Cite
Article Information
This article has been peer-reviewed and published in the International Journal Software Engineering and Computer Science (IJSECS). The content is available under the terms of the Creative Commons Attribution 4.0 International License.
-
Issue: Vol. 3 No. 3 (2023)
-
Section: Articles
-
Published: %750 %e, %2023
-
License: CC BY 4.0
-
Copyright: © 2023 Authors
-
DOI: 10.35870/ijsecs.v3i3.1709
AI Research Hub
This article is indexed and available through various AI-powered research tools and citation platforms. Our AI Research Hub ensures that scholarly work is discoverable, accessible, and easily integrated into the global research ecosystem. By leveraging artificial intelligence for indexing, recommendation, and citation analysis, we enhance the visibility and impact of published research.
-
Soewignyo, F. and Simatupang, N., 2020. PENGARUH PERUBAHAN HARGA KOMODITAS PERTANIAN TERHADAP KESEJAHTERAAN PETANI DI PROPINSI SULAWESI UTARA. Klabat Accounting Review, 1(1), pp.14-26. DOI: https://doi.org/10.60090/kar.v1i1.454.14-26.
-
-
Bode, A., 2017. K-nearest neighbor dengan feature selection menggunakan backward elimination untuk prediksi harga komoditi kopi arabika. ILKOM Jurnal Ilmiah, 9(2), pp.188-195. DOI: https://doi.org/10.33096/ilkom.v9i2.139.188-195.
-
-
Hadiansyah, F.N., 2017. Prediksi Harga Cabai dengan Menggunakan pemodelan Time Series ARIMA. Indonesia Journal on Computing (Indo-JC), 2(1), pp.71-78. DOI: https://doi.org/10.21108/INDOJC.2017.2.1.144.
-
-
-
Lasulika, M.E. and Bode, A., 2021. Komparasi Algoritma Data Mining Menggunakan Forward Selection pada Prediksi Harga Jagung. JURNAL TECNOSCIENZA, 5(2), pp.157-172. DOI: https://doi.org/10.51158/tecnoscienza.v5i2.392.
-
Karo, I.M.K., Khosuri, A., Septory, J.S.I. and Supandi, D.P., 2022. Pengaruh Metode Pengukuran Jarak pada Algoritma k-NN untuk Klasifikasi Kebakaran Hutan dan Lahan. Jurnal Media Informatika Budidarma, 6(2), pp.1174-1182. DOI: http://dx.doi.org/10.30865/mib.v6i2.3967.
-
Bode, A., 2019. Perbandingan metode prediksi support vector machine dan linear regression menggunakan backward elimination pada produksi minyak kelapa. Simtek: jurnal sistem informasi dan teknik komputer, 4(2), pp.104-107. DOI: https://doi.org/10.51876/simtek.v4i2.57.
-
Harafani, H. and Al-Kautsar, H.A., 2021. Meningkatkan Kinerja K-Nn Untuk Klasifikasi Kanker Payudara Dengan Forward Selection. Jurnal Pendidikan Teknologi Dan Kejuruan, 18(1), pp.99-110. DOI: https://doi.org/10.23887/jptk-undiksha.v18i1.29905.

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.