Implementation and performance analysis of k-nearest neighbors algorithm for classification
This study delves into the implementation and evaluation of the k-nearest neighbor (k-NN) algorithm, a widely used method in machine learning for classification tasks. This research examines its theoretical foundation, mathematical background, and practical application using the Iris dataset. Performance metrics, such as accuracy, precision, recall, and F1-score, were analyzed to assess its efficiency. The results indicate that the k-NN achieves a classification accuracy of 1.0, demonstrating its effectiveness. However, key challenges such as feature scaling, dataset size, and optimal k-value selection are discussed. Addi-tionally, a case study in agriculture highlighted its application in plant disease detection, showcasing its relevance in precision farming. Increasing knowledge of k-NN and its uses is the aim of this research.
Authors
- Sansar Singh Chauhan (ORCID: https://orcid.org/0000-0002-0493-4914)
- A. K. Thakur (ORCID: https://orcid.org/0000-0002-9940-7825)
- Smita Parija (ORCID: https://orcid.org/0000-0002-9564-1104)
- Prabodh Kumar Sahoo (ORCID: https://orcid.org/0000-0003-0112-7129)
- Shubham Shah (ORCID: https://orcid.org/0000-0003-0996-6525)
- Jaymin Bhalani (ORCID: https://orcid.org/0000-0001-8471-3208)
- Bishal Jaysawal
Institutions
- Vivekananda Global University (IN)
- C.V. Raman Global University
- Parul University (IN)
Publication Details
- Journal
- IET conference proceedings.
- Published
- 2025-06-27
- DOI
- https://doi.org/10.1049/icp.2025.1656
- Citations
- 1
- Primary Topic
- Face and Expression Recognition
- Type
- article
- Field-Weighted Citation Impact
- 1.28