use cosine similarity as distance between data points