Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

Accuracy Analysis of K-Nearest Neighbor and Naïve Bayes Algorithm in the Diagnosis of Breast Cancer

JURNAL INFOTEL · Vol. 12 No. 4 (2020) · pp. 151–159

DOI
10.20895/infotel.v12i4.547
ISSN
2085-3688, 2460-0997
Published
2020-11-29
Publisher
LPPM Institut Teknologi Telkom Purwokerto
Language
en
License
creativecommons.org/licenses/by-sa/4.0/

Abstract

In the medical field, there are many records of disease sufferers, one of which is data on breast cancer. An extraction process to fine information in previously unknown data is known as data mining. Data mining uses pattern recognition techniques such as statistics and mathematics to find patterns from old data or cases. One of the main roles of data mining is classification. In the classification dataset, there is one objective attribute or it can be called the label attribute. This attribute will be searched from new data on the basis of other attributes in the past. The number of attributes can affect the performance of an algorithm. This results in if the classification process is inaccurate, the researcher needs to double-check at each previous stage to look for errors. The best algorithm for one data type is not necessarily good for another data type. For this reason, the K-Nearest Neighbor and Naïve Bayes algorithms will be used as a solution to this problem. The research method used was to prepare data from the breast cancer dataset, conduct training and test the data, then perform a comparative analysis. The research target is to produce the best algorithm in classifying breast cancer, so that patients with existing parameters can be predicted which ones are malignant and benign breast cancer. This pattern can be used as a diagnostic measure so that it can be detected earlier and is expected to reduce the mortality rate from breast cancer. By making comparisons, this method produces 95.79% for K-Nearest Neighbor and 93.39% for Naïve Bayes

Keywords

Collaboration network of the authors

3 authors · 2 co-authorship links

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Universitas Teknologi Yogyakarta
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Anita Fira WaluyoUniversitas Teknologi Yogyakarta1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S4210188896, first harvested 19 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">Accuracy Analysis of K-Nearest Neighbor and Naïve Bayes Algorithm in the Diagnosis of Breast Cancer</dc:title><dc:creator>Irma Handayani</dc:creator><dc:creator>Ikrimach Ikrimach</dc:creator><dc:subject>breast cancer diagnosis</dc:subject><dc:subject>k-nearest neighbors</dc:subject><dc:subject>naive Bayes</dc:subject><dc:subject>classification accuracy</dc:subject><dc:subject>breast cancer dataset</dc:subject><dc:subject>early detection</dc:subject><dc:subject>algorithm comparison</dc:subject><dc:description xml:lang="en">In the medical field, there are many records of disease sufferers, one of which is data on breast cancer. An extraction process to fine information in previously unknown data is known as data mining. Data mining uses pattern recognition techniques such as statistics and mathematics to find patterns from old data or cases. One of the main roles of data mining is classification. In the classification dataset, there is one objective attribute or it can be called the label attribute. This attribute will be searched from new data on the basis of other attributes in the past. The number of attributes can affect the performance of an algorithm. This results in if the classification process is inaccurate, the researcher needs to double-check at each previous stage to look for errors. The best algorithm for one data type is not necessarily good for another data type. For this reason, the K-Nearest Neighbor and Naïve Bayes algorithms will be used as a solution to this problem. The research method used was to prepare data from the breast cancer dataset, conduct training and test the data, then perform a comparative analysis. The research target is to produce the best algorithm in classifying breast cancer, so that patients with existing parameters can be predicted which ones are malignant and benign breast cancer. This pattern can be used as a diagnostic measure so that it can be detected earlier and is expected to reduce the mortality rate from breast cancer. By making comparisons, this method produces 95.79% for K-Nearest Neighbor and 93.39% for Naïve Bayes</dc:description><dc:publisher>LPPM Institut Teknologi Telkom Purwokerto</dc:publisher><dc:date>2020-11-29</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>application/pdf</dc:format><dc:identifier>https://doi.org/10.20895/infotel.v12i4.547</dc:identifier><dc:identifier>10.20895/infotel.v12i4.547</dc:identifier><dc:source>JURNAL INFOTEL; Vol 12 No 4 (2020); 151-159</dc:source><dc:source>2085-3688</dc:source><dc:source>2460-0997</dc:source><dc:language>en</dc:language><dc:relation>https://ejournal.st3telkom.ac.id/index.php/infotel/article/download/547/309</dc:relation><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>