Skip to content

Instantly share code, notes, and snippets.

Created Sep 26, 2020
What would you like to do?
from sklearn.metrics.pairwise import cosine_similarity
import pandas as pd
data = pd.read_csv("DATA.csv")
# computing the cosine similarity
alg = cosine_similarity(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment