Machine Learning, Cancer.
dominating classification in that pool is decided as the final classification. Let’s look at a simple example of how kNN works! The test sample (inside circle) should be classified either to the first class of blue squares or to the second class of red triangles. If k = 3 (outside circle) it is