All tagged K-Nearest Neighbor Algorithm