Scholars Central

ArticlePublished 27 Mar 2025

Comparison Between the KNN, W-KNN, Wc-KNN and Wk-KNN Models on a CDC Heart Disease Dataset

Authors: Andre Fix Ventura

Quality in Primary Care

Volume 33 · Issue 2 · Pages 1–10

Ask about this article

Abstract

Select any words in the title or abstract, or press this and choose a sentence.

One of the most popular and fundamental methods used for machine learning classification is KNN (KNearest Neighbor). Despite its simplicity, this method can achieve good data classification results even without prior knowledge of the data distribution. WKNN (Weighted KNN) is an improvement of KNN in which, instead of merely counting the number of nearby neighbors, the system assigns a weight to each neighbor. Typically, this weight is defined by the inverse of the squared distance (weight=1/d2). This study aims to present an alternative way to define the weight (weight=wp/(1+|cd|n) and a methodology in which the weight formula is defined based on the position and the training data. It was found that, in this dataset, the presented methodology achieves results that are 9% better than KNN and 8% better than WKNN.

Ask about this article

Answers come only from this article's title, abstract and keywords, each sentence pointing to where it comes from. Your question is sent to OpenAI to write the answer. Scholars Central does not store it.

Try:

More from this journal

The newest in Quality in Primary Care.

All its articles

Conferences in this field

Upcoming conferences in this field.

Follow

New articles from what you follow go into your email digest, once you agree to alert emails.

  • JournalQuality in Primary Care
  • SubjectGeneral & Internal Medicine
  • BylineArticles whose byline prints “Andre Fix Ventura”