librec icon indicating copy to clipboard operation
librec copied to clipboard

How to compute several precisions & how to load a model

Open prosso opened this issue 4 years ago • 0 comments

Hello, I have two questions:

  1. how can I compute precision@10, precision@5, precision@3 and precision@1 all together? If in my config file I write:

rec.recommender.ranking.topn=10 rec.recommender.ranking.topn=5 rec.recommender.ranking.topn=3 rec.recommender.ranking.topn=1

.. librec will alway compute only the last one (in this case precision@1)

  1. is there a way to train and store a model, and then load it in order to calculate other metrics?

Thanks

prosso avatar Jan 15 '20 13:01 prosso