Given a neighborhood of data, computes the similarity of each sample in the neighborhood to the neighborhood.
Useful links