0

I am using item_similarity_recommender from Graphlab and I noticed that predict() function assigns zero to most of the predicted items even though the ratings go from 1-5. This of course results in having very high RMSE.

Since item_similarity_recommender is based on KNN, I assume that the predicted ratings should be from 1-5. Can anyone explains to me why this is happening??

The code is simply as the following:

train, test = graphlab.recommender.util.random_split_by_user(dataset, max_num_users=1000)
m = graphlab.recommender.item_similarity_recommender.create(train, target='target', only_top_k=65)
rmse=m.evaluate_rmse(test, target='target')
print(m.predict(test))
H.H.H
  • 51
  • 2
  • 5

0 Answers0