Cargando…

An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance

The K-nearest neighbor (KNN) algorithm is one of the most extensively used classification algorithms, while its high time complexity limits its performance in the era of big data. The quantum K-nearest neighbor (QKNN) algorithm can handle the above problem with satisfactory efficiency; however, its...

Descripción completa

Detalles Bibliográficos
Autores principales: Feng, Congcong, Zhao, Bo, Zhou, Xin, Ding, Xiaodong, Shan, Zheng
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9857881/
https://www.ncbi.nlm.nih.gov/pubmed/36673268
http://dx.doi.org/10.3390/e25010127
_version_ 1784873959120961536
author Feng, Congcong
Zhao, Bo
Zhou, Xin
Ding, Xiaodong
Shan, Zheng
author_facet Feng, Congcong
Zhao, Bo
Zhou, Xin
Ding, Xiaodong
Shan, Zheng
author_sort Feng, Congcong
collection PubMed
description The K-nearest neighbor (KNN) algorithm is one of the most extensively used classification algorithms, while its high time complexity limits its performance in the era of big data. The quantum K-nearest neighbor (QKNN) algorithm can handle the above problem with satisfactory efficiency; however, its accuracy is sacrificed when directly applying the traditional similarity measure based on Euclidean distance. Inspired by the Polar coordinate system and the quantum property, this work proposes a new similarity measure to replace the Euclidean distance, which is defined as Polar distance. Polar distance considers both angular and module length information, introducing a weight parameter adjusted to the specific application data. To validate the efficiency of Polar distance, we conducted various experiments using several typical datasets. For the conventional KNN algorithm, the accuracy performance is comparable when using Polar distance for similarity measurement, while for the QKNN algorithm, it significantly outperforms the Euclidean distance in terms of classification accuracy. Furthermore, the Polar distance shows scalability and robustness superior to the Euclidean distance, providing an opportunity for the large-scale application of QKNN in practice.
format Online
Article
Text
id pubmed-9857881
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-98578812023-01-21 An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance Feng, Congcong Zhao, Bo Zhou, Xin Ding, Xiaodong Shan, Zheng Entropy (Basel) Article The K-nearest neighbor (KNN) algorithm is one of the most extensively used classification algorithms, while its high time complexity limits its performance in the era of big data. The quantum K-nearest neighbor (QKNN) algorithm can handle the above problem with satisfactory efficiency; however, its accuracy is sacrificed when directly applying the traditional similarity measure based on Euclidean distance. Inspired by the Polar coordinate system and the quantum property, this work proposes a new similarity measure to replace the Euclidean distance, which is defined as Polar distance. Polar distance considers both angular and module length information, introducing a weight parameter adjusted to the specific application data. To validate the efficiency of Polar distance, we conducted various experiments using several typical datasets. For the conventional KNN algorithm, the accuracy performance is comparable when using Polar distance for similarity measurement, while for the QKNN algorithm, it significantly outperforms the Euclidean distance in terms of classification accuracy. Furthermore, the Polar distance shows scalability and robustness superior to the Euclidean distance, providing an opportunity for the large-scale application of QKNN in practice. MDPI 2023-01-08 /pmc/articles/PMC9857881/ /pubmed/36673268 http://dx.doi.org/10.3390/e25010127 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Feng, Congcong
Zhao, Bo
Zhou, Xin
Ding, Xiaodong
Shan, Zheng
An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title_full An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title_fullStr An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title_full_unstemmed An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title_short An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
title_sort enhanced quantum k-nearest neighbor classification algorithm based on polar distance
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9857881/
https://www.ncbi.nlm.nih.gov/pubmed/36673268
http://dx.doi.org/10.3390/e25010127
work_keys_str_mv AT fengcongcong anenhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT zhaobo anenhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT zhouxin anenhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT dingxiaodong anenhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT shanzheng anenhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT fengcongcong enhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT zhaobo enhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT zhouxin enhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT dingxiaodong enhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance
AT shanzheng enhancedquantumknearestneighborclassificationalgorithmbasedonpolardistance