similarity and Nearest-Neighbor Methods