Recommender-class {recommenderlab} | R Documentation |
Represents a recommender model learned for a given data set (a rating matrix).
Objects are created by
the creator function Recommender(data, method, parameter = NULL)
(see class "ratingMatrix"
).
method
:"character"
;
used recommendation method.dataType
:"character"
;
concrete class of the input data.ntrain
:"integer"
;
size of training set. model
:"list"
; the model. predict
:"function"
; code to compute
a recommendation using the model. signature(x = "Recommender")
: retrieve the model. signature(object = "Recommender")
: create
recommendations for new data (argument newdata
). signature(object = "Recommender")
See Recommender
for the constructor and
ratingMatrix
.