Journal of Science Technology (JoSTec)
Vol. 4 No. 1 (2022): Journal of Science Technology (JoSTec)

KNN and XGBoost Algorithms for Lung Cancer Prediction

M. Rhifky Wayahdi (Battuta University)
Fahmi Ruziq (Battuta University)



Article Info

Publish Date
17 Dec 2022

Abstract

In this paper, the K-Nearest Neighbor and XGBoost algorithms will be implemented in lung cancer prediction. This prediction is important because lung cancer is one of the highest causes of death worldwide. Prediction and diagnosis of this cancer can be done with machine learning algorithms such as K-Nearest Neighbor and XGBoost. Based on the results of the analysis and testing of the K-Nearest Neighbor algorithm and the XGBoost algorithm, the results show that the two algorithms obtain a very good level of accuracy, as well as obtain a balanced precision, recall, and f1-score. But in this case the XGBoost algorithm tends to be better than the KNN algorithm in recognizing a given data pattern.

Copyrights © 2022






Journal Info

Abbrev

jostec

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering

Description

Journal of Science Technology (JoSTec), e-ISSN: 2830-7275 provides a forum for publishing the original research articles from contributors related to embedded system and control, processor and IC design, network and infrastructure, and computing algorithms. The scope of JoSTec starting from Volume 1 ...