Article
Details
Citation
Jodas DS, Passos LA, Adeel A & Papa JP (2023) PL-kNN: A Python-based implementation of a parameterlessk-Nearest Neighbors classifier. Software Impacts, 15, Art. No.: 100459. https://doi.org/10.1016/j.simpa.2022.100459
Abstract
This paper presents an open-source implementation of PL-kNN, a parameterless version of the k-Nearest Neighbors algorithm. The proposed model, developed in Python 3.6, was designed to avoid the choice of the k parameter required by the standard k-Nearest Neighbors technique. Essentially, the model computes the number of nearest neighbors of a target sample using the data distribution of the training set. The source code provides functions resembling the Scikit-learn methods for fitting the model and predicting the classes of the new samples. The source code is available in the GitHub repository with instructions for installation and examples for usage.
Keywords
machine learning; k-nearest Neighbours; Classification; Clustering; Python
Journal
Software Impacts: Volume 15
Status | Published |
---|---|
Funders | |
Publication date | 31/03/2023 |
Date accepted by journal | 14/12/2022 |
URL | |
Publisher | Elsevier BV |
eISSN | 2665-9638 |
People (1)
Assoc. Prof. in Artificial Intelligence, Computing Science and Mathematics - Division