DeepRecommender icon indicating copy to clipboard operation
DeepRecommender copied to clipboard

Generating Top-N Recommendations for the Recommendation System

Open PurushothamanSrikanth opened this issue 3 years ago • 5 comments

@Chinmayrane16 Can we have Top-N recommendation as a new feature to the existing one? We can generate Top-N recommendations from the rating prediction matrix.

This is a feature request 😇

PurushothamanSrikanth avatar Feb 25 '21 06:02 PurushothamanSrikanth

@PurushothamanSrikanth Yes, it is possible and fairly simple. At inference, we can get the Top-N indexes (movies) from the user's rating vector with the maximum scores.

Do you wish to proceed and make a PR? ;)

Chinmayrane16 avatar Feb 25 '21 07:02 Chinmayrane16

@PurushothamanSrikanth Yes, it is possible and fairly simple. At inference, we can get the Top-N indexes (movies) from the user's rating vector with the maximum scores.

Do you wish to proceed and make a PR? ;)

  • That's great. I'm trying that, but I'm not able to do it properly.

PurushothamanSrikanth avatar Feb 25 '21 07:02 PurushothamanSrikanth

@PurushothamanSrikanth Yes, it is possible and fairly simple. At inference, we can get the Top-N indexes (movies) from the user's rating vector with the maximum scores. Do you wish to proceed and make a PR? ;)

  • [ ] That's great. I'm trying that, but I'm not able to do it properly.

@Chinmayrane16 Are u talking about out matrix in [Training_Deep_AE.ipynb] ?(https://github.com/Chinmayrane16/DeepRecommender/blob/master/Training_Deep_AE.ipynb)

Untitled1

PurushothamanSrikanth avatar Feb 25 '21 07:02 PurushothamanSrikanth

@PurushothamanSrikanth Yeah, you could use that. Choose a particular index (user) and take its rating vector and select Top-N maximum indexes. Map those indexes back to Movie names. :)

Chinmayrane16 avatar Feb 25 '21 08:02 Chinmayrane16

@PurushothamanSrikanth Yeah, you could use that. Choose a particular index (user) and take its rating vector and select Top-N maximum indexes.

Map those indexes back to Movie names. :)

Will give that a try

PurushothamanSrikanth avatar Feb 25 '21 08:02 PurushothamanSrikanth