New feature: Implement nearest_neighbor-based classifier