mhahsler / recommenderlab

recommenderlab - Lab for Developing and Testing Recommender Algorithms - R package
213 stars 61 forks source link

Parallelize #26

Open Dikosh opened 5 years ago

Dikosh commented 5 years ago

Hello, thank you for such an awesome library. Can you help me to parallelize 'predict' function for get top N recommendation?

mhahsler commented 5 years ago

Hi. This is a good idea. I guess you want this to scale up the number of predictions you can make?

Dikosh commented 5 years ago

yes

mhahsler commented 5 years ago

You could save the Recommender object and then run several instances of R and load the Recommender object to create recommendations in parallel.

filipwastberg commented 5 years ago

That is an interesting idea. @mhahsler what is your general view on using recommenderlab in production for data larger than movielense and other example data sets?

mhahsler commented 5 years ago

The code is not optimized for performance. Some recommendation algorithms will not scale well, others might...