Dafid, Ach. and Sudianto, Achmad Imam and Thinakaran, Rajermani and Umam, Faikul and Adiputra, Firmansyah and Izzuddin, Izzuddin and Debora, Ribka Sitepu (2025) Optimizing K-Nearest Neighbors with Particle Swarm Optimization for Improved Classification Accuracy. Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, 11 (2). pp. 238-250.
![]() |
Text
8-Optimizing K-Nearest Neighbors with Particle Swarm Optimization for Improved Classification Accuracy.pdf Download (892kB) |
Abstract
This study aims to improve the performance of the K-Nearest Neighbors (KNN) algorithm in classifying public reviews of Batik Madura through optimizing the K value using the Particle Swarm Optimization (PSO) algorithm. Public reviews collected from the Google Maps platform are used as a dataset, with positive, negative, and neutral sentiment categories. Optimization of the K value is carried out to overcome the constraints of KNN performance, which is highly dependent on the K parameter, with PSO providing a more efficient approach than the grid search method. However, PSO also presents challenges such as sensitivity to parameter tuning and potential computational overhead. This study has succeeded in developing a web-based system using the Python Streamlit framework, which makes it easy for users to access sentiment analysis results. Testing shows that optimizing the K value with PSO increases the accuracy of KNN to 88.5% with an optimal K value of 19. However, this accuracy is not compared to other optimization techniques, leaving its relative advantage unverified. The results are expected to help Batik Madura entrepreneurs in evaluating public perception and guiding strategic innovations. Research outputs include a prototype, intellectual property registration, and journal publication, although the role of deep learning models is only briefly noted without further development.
Item Type: | Artikel Umum |
---|---|
Subjects: | T Technology > TK Electrical engineering. Electronics Nuclear engineering |
Divisi / Prodi: | Faculty of Industrial Technology (Fakultas Teknologi Industri) > S1-Electrical Engineering (S1-Teknik Elektro) |
Depositing User: | M.Eng. Alfian Ma'arif |
Date Deposited: | 08 Jul 2025 02:46 |
Last Modified: | 08 Jul 2025 02:46 |
URI: | http://eprints.uad.ac.id/id/eprint/84762 |
Actions (login required)
![]() |
View Item |