Application of KNN Algorithm in Diabetes Prediction

Authors

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

DOI:

https://doi.org/10.71465/fias.153

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

Issue

Section

Articles