Skip to main content
. 2019 Jul 19;9:10510. doi: 10.1038/s41598-019-46974-3

Table 2.

Results obtained from nearest neighbor algorithm.

NNs % of Training Data Accuracy Sensitivity Specificity PPV NPV MCC Youden’s Index
1NN 10 0.555 0.567 0.545 0.521 0.590 0.203 0.202
20 0.551 0.441 0.650 0.532 0.563 0.225 0.225
30 0.586 0.580 0.592 0.551 0.620 0.186 0.186
40 0.608 0.541 0.667 0.587 0.624 0.210 0.209
3NN 10 0.519 0.648 0.405 0.488 0.569 0.143 0.142
20 0.528 0.448 0.600 0.505 0.544 0.125 0.124
30 0.559 0.460 0.652 0.553 0.562 0.123 0.122
40 0.568 0.520 0.609 0.531 0.598 0.134 0.132
5NN 10 0.532 0.434 0.619 0.499 0.555 0.084 0.082
20 0.541 0.412 0.656 0.517 0.555 0.088 0.087
30 0.549 0.577 0.524 0.513 0.588 0.092 0.089
40 0.550 0.419 0.665 0.522 0.567 0.082 0.081