Application of KNN Algorithm in Diabetes Prediction

Authors

  • Jun Mei, Jianmin Chen Department of Industry and Finance and Trade, Huangshan Vocational and Technical College, Anhui 245000, China

Keywords:

KNN algorithm, diabetes prediction, artificial intelligence, dataSet, k value

Abstract

Artificial intelligence technology realizes disease prediction through technical means in massive medical data, providing an important basis for auxiliary treatment. The article analyzes the process of the machine classification algorithm KNN algorithm, as well as specific examples in diabetes data. By dividing the diabetes data set, calculate the K value in the KNN algorithm, and determine the best k value to achieve the optimal accuracy. Through experiments, it is verified that the KNN algorithm is effective in predicting diabetes on the diabetes data set.

Downloads

Published

2024-04-30

How to Cite

Jun Mei, Jianmin Chen. (2024). Application of KNN Algorithm in Diabetes Prediction. Frontiers in Interdisciplinary Applied Science, 1(1), 8–15. Retrieved from https://fias.com.pk/index.php/journal/article/view/2

Issue

Section

Articles