| evalRec | R Documentation | 
Evaluates the recommendation task of an algorithm with a given configuration and based on the given evaluation model.
model | 
 Object of type   | 
alg | 
 The algorithm to be used in the evaluation. Of class   | 
topN | 
 Object of class   | 
topNGen | 
 Object of class   | 
positiveThreshold | 
 Object of class   | 
alpha | 
 Object of class   | 
... | 
 other attributes specific to the algorithm to be deployed. Refer to   | 
Returns an object of class evalRecResults with the precision, recall, F1, nDCG, RankScore, true positives(TP), false positives(FP), true negatives(TN), false negatives(FN)  for each of the k-folds defined in the evaluation model and the overall average.
F. Ricci, L. Rokach, B. Shapira, and P. B. Kantor, editors. Recommender Systems Handbook. Springer, 2011. ISBN 978-0-387-85819-7. URL http://www.springerlink.com/content/978-0-387-85819-7.
evalModel-class, rrecsys, evalRecResults-class.
  x <- matrix(sample(c(0:5), size = 200, replace = TRUE, 
        prob = c(.6,.8,.8,.8,.8,.8)), nrow = 20, byrow = TRUE)
  
  x <- defineData(x)
        
  e <- evalModel(x, 2)
  
  SVDEvaluation <- evalRec(e, "FunkSVD", positiveThreshold = 4, k = 4) 
  
  SVDEvaluation         
  
  
  
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.