Table 8 Classification report for K Nearest Neighbors Classifier.

From: Performance of machine learning algorithms for lung cancer prediction: a comparative approach

 

Precision

Recall

f1-score

Support

0

0.90

0.75

0.82

12

1

0.93

0.98

0.96

44

Macro avg

0.92

0.86

0.89

56

Weighted avg

0.93

0.93

0.93

56

Accuracy

  

0.93

56

  1. The accuracy of K Nearest Neighbors Classifier is 92.86%.