Skip to content

PageRank-based recommandation #535

Closed Answered by tbonald
tbonald asked this question in Q&A
Discussion options

You must be logged in to vote

An option to speed up PageRank is to limit the number of iterations (see the n_iter parameter).

Following your idea, you can also apply Louvain to the whole graph so as to get clusters (grouping users and items) and then apply PageRank to each cluster separately (say biadjacency[labels_row == label][:, labels_col == label] for each label returned by Louvain). Note that the top-10 items recommended to a user will necessarily be part of the cluster of that user.

Replies: 1 comment

Comment options

tbonald
Jun 23, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by tbonald
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant