IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v611y2023ics0378437122009931.html
   My bibliography  Save this article

Quantum k-fold cross-validation for nearest neighbor classification algorithm

Author

Listed:
  • Li, Jing
  • Gao, Fei
  • Lin, Song
  • Guo, Mingchao
  • Li, Yongmei
  • Liu, Hailing
  • Qin, Sujuan
  • Wen, QiaoYan

Abstract

Cross-validation is one of the important tools in machine learning, which is generally used for performance evaluation. It uses different portions of the data to test and train a model on different iterations, which leads to a high computational cost. In this paper, we present a quantum version of k-fold cross-validation to choose a good parameter for the nearest neighbor classification algorithm with a threshold t, where the classification performance is estimated efficiently. With the help of amplitude amplification and estimation, the proposed quantum algorithm achieves a polynomial speedup on the number of samples over its classical counterpart.

Suggested Citation

  • Li, Jing & Gao, Fei & Lin, Song & Guo, Mingchao & Li, Yongmei & Liu, Hailing & Qin, Sujuan & Wen, QiaoYan, 2023. "Quantum k-fold cross-validation for nearest neighbor classification algorithm," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 611(C).
  • Handle: RePEc:eee:phsmap:v:611:y:2023:i:c:s0378437122009931
    DOI: 10.1016/j.physa.2022.128435
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437122009931
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2022.128435?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Jacob Biamonte & Peter Wittek & Nicola Pancotti & Patrick Rebentrost & Nathan Wiebe & Seth Lloyd, 2017. "Quantum machine learning," Nature, Nature, vol. 549(7671), pages 195-202, September.
    2. Ghosh, Anil K., 2006. "On optimum choice of k in nearest neighbor classification," Computational Statistics & Data Analysis, Elsevier, vol. 50(11), pages 3113-3123, July.
    3. Guo, Mingchao & Liu, Hailing & Li, Yongmei & Li, Wenmin & Gao, Fei & Qin, Sujuan & Wen, Qiaoyan, 2022. "Quantum algorithms for anomaly detection using amplitude estimation," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 604(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Wu, Jiang & Ou, Guiyan & Liu, Xiaohui & Dong, Ke, 2022. "How does academic education background affect top researchers’ performance? Evidence from the field of artificial intelligence," Journal of Informetrics, Elsevier, vol. 16(2).
    2. Ajagekar, Akshay & You, Fengqi, 2021. "Quantum computing based hybrid deep learning for fault diagnosis in electrical power systems," Applied Energy, Elsevier, vol. 303(C).
    3. Jurgita Bruneckiene & Robertas Jucevicius & Ineta Zykiene & Jonas Rapsikevicius & Mantas Lukauskas, 2019. "Assessment of Investment Attractiveness in European Countries by Artificial Neural Networks: What Competences are Needed to Make a Decision on Collective Well-Being?," Sustainability, MDPI, vol. 11(24), pages 1-23, December.
    4. Li, Nianqiao & Yan, Fei & Hirota, Kaoru, 2022. "Quantum data visualization: A quantum computing framework for enhancing visual analysis of data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 599(C).
    5. Elies Gil-Fuster & Jens Eisert & Carlos Bravo-Prieto, 2024. "Understanding quantum machine learning also requires rethinking generalization," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    6. Guo, Mingchao & Liu, Hailing & Li, Yongmei & Li, Wenmin & Gao, Fei & Qin, Sujuan & Wen, Qiaoyan, 2022. "Quantum algorithms for anomaly detection using amplitude estimation," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 604(C).
    7. Vicente Moret-Bonillo & Samuel Magaz-Romero & Eduardo Mosqueira-Rey, 2022. "Quantum Computing for Dealing with Inaccurate Knowledge Related to the Certainty Factors Model," Mathematics, MDPI, vol. 10(2), pages 1-21, January.
    8. Daudin, Jean-Jacques & Mary-Huard, Tristan, 2008. "Estimation of the conditional risk in classification: The swapping method," Computational Statistics & Data Analysis, Elsevier, vol. 52(6), pages 3220-3232, February.
    9. Gong, Li-Hua & Xiang, Ling-Zhi & Liu, Si-Hang & Zhou, Nan-Run, 2022. "Born machine model based on matrix product state quantum circuit," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).
    10. Sadaf Kabir & Leily Farrokhvar, 2022. "Non-linear missing data imputation for healthcare data via index-aware autoencoders," Health Care Management Science, Springer, vol. 25(3), pages 484-497, September.
    11. Laura Böhm & Sebastian Kolb & Thomas Plankenbühler & Jonas Miederer & Simon Markthaler & Jürgen Karl, 2023. "Short-Term Natural Gas and Carbon Price Forecasting Using Artificial Neural Networks," Energies, MDPI, vol. 16(18), pages 1-25, September.
    12. Ning, Tong & Yang, Youlong & Du, Zhenye, 2023. "Quantum kernel logistic regression based Newton method," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 611(C).
    13. Serena Di Giorgio & Paulo Mateus, 2021. "On the Complexity of Finding the Maximum Entropy Compatible Quantum State," Mathematics, MDPI, vol. 9(2), pages 1-24, January.
    14. Yinglei Lai & Baolin Wu & Hongyu Zhao, 2011. "A permutation test approach to the choice of size k for the nearest neighbors classifier," Journal of Applied Statistics, Taylor & Francis Journals, vol. 38(10), pages 2289-2302.
    15. Giuseppe Nuti, 2019. "An Efficient Algorithm for Bayesian Nearest Neighbours," Methodology and Computing in Applied Probability, Springer, vol. 21(4), pages 1251-1258, December.
    16. Sheshadri Chatterjee & Ranjan Chaudhuri & Sachin Kamble & Shivam Gupta & Uthayasankar Sivarajah, 2023. "Adoption of Artificial Intelligence and Cutting-Edge Technologies for Production System Sustainability: A Moderator-Mediation Analysis," Information Systems Frontiers, Springer, vol. 25(5), pages 1779-1794, October.
    17. Junyu Liu & Minzhao Liu & Jin-Peng Liu & Ziyu Ye & Yunfei Wang & Yuri Alexeev & Jens Eisert & Liang Jiang, 2024. "Towards provably efficient quantum algorithms for large-scale machine-learning models," Nature Communications, Nature, vol. 15(1), pages 1-6, December.
    18. Wang, Sha-Sha & Liu, Hai-Ling & Song, Yan-Qi & Gao, Fei & Qin, Su-Juan & Wen, Qiao-Yan, 2023. "Quantum alternating operator ansatz for solving the minimum exact cover problem," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 626(C).
    19. Matthias C. Caro & Hsin-Yuan Huang & M. Cerezo & Kunal Sharma & Andrew Sornborger & Lukasz Cincio & Patrick J. Coles, 2022. "Generalization in quantum machine learning from few training data," Nature Communications, Nature, vol. 13(1), pages 1-11, December.
    20. Laha, A. K. & Rathi, Poonam, 2017. "New Approaches to Prediction using Functional Data Analysis," IIMA Working Papers WP 2017-08-02, Indian Institute of Management Ahmedabad, Research and Publication Department.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:611:y:2023:i:c:s0378437122009931. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.