Classification of Investment Opportunities in Semarang City Using the K-Nearest Neighbor Data Mining Method
DOI:
https://doi.org/10.24246/ijiteb.722025.01-08Keywords:
Investment Opportunity, data mining, KNN method, ClassificationAbstract
Investment is an activity undertaken to allocate funds with the expectation of generating future returns. In a dynamic economic environment, identifying profitable investment opportunities can be a complex task. This study aims to determine potential investment opportunities in Semarang City using a classification method that facilitates business actors or investors in selecting appropriate business sectors. The study utilizes valid data to help investors make informed decisions when establishing a business in the region. Data collection was conducted through research at the Investment and One-Stop Integrated Services Agency (DPMPTSP) of Semarang City, employing a quantitative approach with the K-Nearest Neighbor (K-NN) method. The dataset was divided into training and testing sets with an 80:20 ratio. The experimental results show that the implementation of the K-NN algorithm, conducted using Google Colab, achieved an accuracy of 86% based on 60 testing data points. This demonstrates that the K-NN classification algorithm is effective and produces accurate predictions. Therefore, applying data mining classification techniques to identify investment opportunities can serve as a viable solution to support strategic decision-making for investors.their business development strategies with sector-specific prospects in Semarang City.
Downloads
References
H. Pramudyatama, S. Suwitri, and T. Afrizal, “Implementasi kebijakan pelayanan terpadu satu pintu di DPMPTSP Kota Semarang,” Journal of Public Policy and Management Review, vol. 1, no. 1, pp. 682–700, 2024.
K. Alkhatib, H. Najadat, I. Hmeidi, and M. K. A. Shatnawi, “Stock price prediction using k-nearest neighbor (kNN) algorithm,” International Journal of Business, Humanities and Technology, vol. 3, no. 3, pp. 32–44, 2013.
R. A. Pangestu and S. Noris, “Analisa data mining prediksi lelang suku cadang dengan metode K-nearest neighbor (studi kasus PT. Parmud Jaya Perkasa),” Jurnal Informatika Multi, vol. 1, no. 4, pp. 285–295, 2023.
A. Muhadi and A. Octaviano, “Penerapan data mining untuk prediksi hasil keuntungan lelang mesin X-Ray tahun 2020 dengan metode K-nearest neighbor (studi kasus: PT. Ramadika Mandiri),” Jurnal Informatika MULTI, vol. 1, no. 2, pp. 126–136, 2023.
R. Rahmadini, E. E. Lorencis Lubis, A. Priansyah, Y. RWN, and T. Meutia, “Penerapan data mining untuk memprediksi harga bahan pangan di Indonesia menggunakan algoritma K-nearest neighbor,” Jurnal Mahasiswa Akuntansi Samudra, vol. 4, no. 4, pp. 223–235, 2023, doi: 10.33059/jmas.v4i4.7074.
Q. A’yuniyah and M. Reza, “Penerapan algoritma K-nearest neighbor untuk klasifikasi jurusan siswa di SMA Negeri 15 Pekanbaru: Application of the K-nearest neighbor algorithm for student department classification at 15 Pekanbaru State High School,” Indonesian Journal of Informatic Research and Software Engineering (IJIRSE), vol. 3, no. 1, pp. 39–45, 2023, doi: 10.57152/ijirse.v3i1.484.
J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques, 3rd ed. Waltham, MA: Morgan Kaufmann, 2012.
T. Cover and P. Hart, “Nearest neighbor pattern classification,” IEEE Transactions on Information Theory, vol. 13, no. 1, pp. 21–27, 1967, doi: 10.1109/TIT.1967.1053964.
P. Patel and D. Prajapati, “Performance analysis of data mining algorithms in prediction of stock market movement,” International Journal of Computer Applications, vol. 182, no. 47, pp. 21–25, 2018.
M. A. Hasan, M. R. Islam, and M. M. Rahman, “Investment risk classification using machine learning approaches: A case study on SMEs,” Journal of Economics and Business, vol. 4, no. 2, pp. 101–112, 2021.
A. Zuiderwijk, M. Janssen, and Y. K. Dwivedi, “Acceptance and use predictors of open data technologies: Drawing upon the unified theory of acceptance and use of technology,” Government Information Quarterly, vol. 31, no. 1, pp. 123–135, 2014, doi: 10.1016/j.giq.2013.11.003.
J. Tang, S. Alelyani, and H. Liu, “Feature selection for classification: A review,” in Feature Selection for Data and Pattern Recognition, H. Liu and H. Motoda, Eds. Springer, 2014, pp. 37–64.
K. J. Sileyew, “Research design and methodology,” in Cyberspace, IntechOpen, 2019.
M. Rosyidah and R. Fijra, Metode Penelitian. Yogyakarta: Deepublish, 2022.
R. B. Gawali, Research Methodology and Statistical Methods. Academic Guru Publishing House, 2023.
R. Alfiani and Y. Umaidah, “Prediksi kepuasan customer terhadap performance terapis baby massage menggunakan algoritma Naive Bayes,” Bina Insani ICT Journal, vol. 9, no. 1, pp. 83–92, 2022, doi: 10.51211/biict.v9i1.1794.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Journal of Information Technology and Business

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.





