Artificial intelligence technology achieves disease prediction through technological means in massive medical data,providing important basis for auxiliary treatment.This paper analyzes the machine classification algorithm KNN algorithm process,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.The experiment verifies that KNN algorithm is effective in predicting diabetes on diabetes dataset.
关键词
KNN算法/糖尿病预测/人工智能/数据集/k值
Key words
KNN algorithm/diabetes prediction/artificial intelligence/dataSet/k value