librec
librec copied to clipboard
How to compute several precisions & how to load a model
Hello, I have two questions:
- 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)
- is there a way to train and store a model, and then load it in order to calculate other metrics?
Thanks