Cosine distance is often used as evaluate the similarity of two vectors, the bigger the value is, the more similar between these two vectors. In this tutorial, we will introduce how to calculate the cosine distance between two vectors using numpy, you can refer to our example to learn how to do.