Description Usage Arguments Value See Also Examples
This method generates top-n recommendations based on a model that has been trained before. Two main methods: recommendHPR, recommendMF. The first method recommends the highest predicted ratings on a user. Instead recommendMF (currently available only for IBKNN and UBKNN), recommends the most frequent item in the user's neighborhood.
1 2 | recommendHPR(model, topN = 3)
recommendMF(model, topN = 3, pt)
|
model |
the trained model of any algorithm. |
topN |
number of items to be recommended per user, class |
pt |
positive threshold, class |
Returns a list with suggested items for each user.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.