IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v9y2021i8p830-d533723.html
   My bibliography  Save this article

k -Nearest Neighbor Learning with Graph Neural Networks

Author

Listed:
  • Seokho Kang

    (Department of Industrial Engineering, Sungkyunkwan University, 2066 Seobu-ro, Jangan-gu, Suwon 16419, Korea)

Abstract

k -nearest neighbor ( k NN) is a widely used learning algorithm for supervised learning tasks. In practice, the main challenge when using k NN is its high sensitivity to its hyperparameter setting, including the number of nearest neighbors k , the distance function, and the weighting function. To improve the robustness to hyperparameters, this study presents a novel k NN learning method based on a graph neural network, named k NNGNN. Given training data, the method learns a task-specific k NN rule in an end-to-end fashion by means of a graph neural network that takes the k NN graph of an instance to predict the label of the instance. The distance and weighting functions are implicitly embedded within the graph neural network. For a query instance, the prediction is obtained by performing a k NN search from the training data to create a k NN graph and passing it through the graph neural network. The effectiveness of the proposed method is demonstrated using various benchmark datasets for classification and regression tasks.

Suggested Citation

  • Seokho Kang, 2021. "k -Nearest Neighbor Learning with Graph Neural Networks," Mathematics, MDPI, vol. 9(8), pages 1-12, April.
  • Handle: RePEc:gam:jmathe:v:9:y:2021:i:8:p:830-:d:533723
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/9/8/830/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/9/8/830/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hamdy Ahmad Aly Alhendawy & Mohammed Galal Abdallah Mostafa & Mohamed Ibrahim Elgohari & Ibrahim Abdalla Abdelraouf Mohamed & Nabil Medhat Arafat Mahmoud & Mohamed Ahmed Mohamed Mater, 2023. "Determinants of Renewable Energy Production in Egypt New Approach: Machine Learning Algorithms," International Journal of Energy Economics and Policy, Econjournals, vol. 13(6), pages 679-689, November.
    2. Reza Salehi & Qiuyan Yuan & Sumate Chaiprapat, 2022. "Development of Data-Driven Models to Predict Biogas Production from Spent Mushroom Compost," Agriculture, MDPI, vol. 12(8), pages 1-20, July.
    3. Florin Leon & Mircea Hulea & Marius Gavrilescu, 2022. "Preface to the Special Issue on “Advances in Artificial Intelligence: Models, Optimization, and Machine Learning”," Mathematics, MDPI, vol. 10(10), pages 1-4, May.

    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:gam:jmathe:v:9:y:2021:i:8:p:830-:d:533723. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.