16. The article of claim 15 further storing instructions that, if executed, enable the processor-based system to find the nearest neighbors to the first point, find the nearest neighbors to the second point, and count how many of the neighbors have the same class label between the two points.
16. The article of claim 15 further storing instructions that, if executed, enable the processor-based system to find the nearest neighbors to the first point, find the nearest neighbors to the second point, and count how many of the neighbors have the same class label between the two points. 17. The article of claim 16 further storing instructions that, if executed, enable the processor-based system to determine the affinity as a ratio of the number of nearest neighbors to each point divided into the number of neighbors that have the same class label between the two points.