Skip to main content
. 2023 Feb 28;13:1129380. doi: 10.3389/fonc.2023.1129380

Table 3.

Nearest neighbors of the example instance used by the k-Nearest Neighbor (KNN) model for prediction.

Thickness Cell size Cell shape Adhesion Epithelial size Bare nuclei Bland Chromatin Normal Nucleoli Normal mitoses Class d
Predicting instance (A) 8 4 5 1 2 1 7 3 1
Neighbor 1 9 5 5 2 2 2 5 1 1 malignant 3.5
Neighbor 2 8 4 6 3 3 1 4 3 1 benign 3.9
Neighbor 3 10 4 3 1 3 3 6 5 2 malignant 4.4
Neighbor 4 6 3 3 3 3 2 6 1 1 benign 4.5
Neighbor 5 8 3 3 1 2 2 3 2 1 benign 4.8
Neighbor 6 6 2 1 1 1 1 7 1 1 benign 5.4
Neighbor 7 10 4 5 4 3 5 7 3 1 malignant 5.5

d: Euclidean distance to the predicting instance A.

- means Not Applicable.