Cargando…
Optimal 1-NN prototypes for pathological geometries
Using prototype methods to reduce the size of training datasets can drastically reduce the computational cost of classification with instance-based learning algorithms like the k-Nearest Neighbour classifier. The number and distribution of prototypes required for the classifier to match its original...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8049135/ https://www.ncbi.nlm.nih.gov/pubmed/33954242 http://dx.doi.org/10.7717/peerj-cs.464 |
_version_ | 1783679370382016512 |
---|---|
author | Sucholutsky, Ilia Schonlau, Matthias |
author_facet | Sucholutsky, Ilia Schonlau, Matthias |
author_sort | Sucholutsky, Ilia |
collection | PubMed |
description | Using prototype methods to reduce the size of training datasets can drastically reduce the computational cost of classification with instance-based learning algorithms like the k-Nearest Neighbour classifier. The number and distribution of prototypes required for the classifier to match its original performance is intimately related to the geometry of the training data. As a result, it is often difficult to find the optimal prototypes for a given dataset, and heuristic algorithms are used instead. However, we consider a particularly challenging setting where commonly used heuristic algorithms fail to find suitable prototypes and show that the optimal number of prototypes can instead be found analytically. We also propose an algorithm for finding nearly-optimal prototypes in this setting, and use it to empirically validate the theoretical results. Finally, we show that a parametric prototype generation method that normally cannot solve this pathological setting can actually find optimal prototypes when combined with the results of our theoretical analysis. |
format | Online Article Text |
id | pubmed-8049135 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-80491352021-05-04 Optimal 1-NN prototypes for pathological geometries Sucholutsky, Ilia Schonlau, Matthias PeerJ Comput Sci Data Mining and Machine Learning Using prototype methods to reduce the size of training datasets can drastically reduce the computational cost of classification with instance-based learning algorithms like the k-Nearest Neighbour classifier. The number and distribution of prototypes required for the classifier to match its original performance is intimately related to the geometry of the training data. As a result, it is often difficult to find the optimal prototypes for a given dataset, and heuristic algorithms are used instead. However, we consider a particularly challenging setting where commonly used heuristic algorithms fail to find suitable prototypes and show that the optimal number of prototypes can instead be found analytically. We also propose an algorithm for finding nearly-optimal prototypes in this setting, and use it to empirically validate the theoretical results. Finally, we show that a parametric prototype generation method that normally cannot solve this pathological setting can actually find optimal prototypes when combined with the results of our theoretical analysis. PeerJ Inc. 2021-04-09 /pmc/articles/PMC8049135/ /pubmed/33954242 http://dx.doi.org/10.7717/peerj-cs.464 Text en © 2021 Sucholutsky and Schonlau https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Data Mining and Machine Learning Sucholutsky, Ilia Schonlau, Matthias Optimal 1-NN prototypes for pathological geometries |
title | Optimal 1-NN prototypes for pathological geometries |
title_full | Optimal 1-NN prototypes for pathological geometries |
title_fullStr | Optimal 1-NN prototypes for pathological geometries |
title_full_unstemmed | Optimal 1-NN prototypes for pathological geometries |
title_short | Optimal 1-NN prototypes for pathological geometries |
title_sort | optimal 1-nn prototypes for pathological geometries |
topic | Data Mining and Machine Learning |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8049135/ https://www.ncbi.nlm.nih.gov/pubmed/33954242 http://dx.doi.org/10.7717/peerj-cs.464 |
work_keys_str_mv | AT sucholutskyilia optimal1nnprototypesforpathologicalgeometries AT schonlaumatthias optimal1nnprototypesforpathologicalgeometries |