recommendation-engine

Pyspark find the nearest text

Pyspark find the nearest text Question: I’m a new user for pyspark. I want to compare text from two different dataframes (containing news information) for recommendation. I was able to do this very easily with Python: def get_recommendations(title, cosine_sim, indices): idx = indices[title] # Get the pairwsie similarity scores sim_scores = list(enumerate(cosine_sim[idx])) print(sim_scores) # Sort …

Total answers: 1

How to make predictions with scikit's Surprise?

How to make predictions with scikit's Surprise? Question: I’m having some trouble understanding how the Surprise workflow. I have a file for training (which I seek to split into training and validation), and a file for testing data. I’m having trouble understanding the difference between a Surprise Dataset and Trainset # Import data data_dir = …

Total answers: 2

Cannot install scikit-surprise on my jupyter notebook

Cannot install scikit-surprise on my jupyter notebook Question: I am building a recommendation engine and am not able to install surprise, i thought the problem was because i didn’t have a c compiler(since i found some people saying it would solve the problem) so i installed it too but couldn’t solve anything. i even tried …

Total answers: 6