Recommender-class {recommenderlab}R Documentation

Class "Recommender": A Recommender Model

Description

Represents a recommender model learned for a given data set (a rating matrix).

Objects from the Class

Objects are created by the creator function Recommender(data, method, parameter = NULL) (see class "ratingMatrix").

Slots

method:
Object of class "character"; used recommendation method.
dataType:
Object of class "character"; concrete class of the input data.
ntrain:
Object of class "integer"; size of training set.
model:
Object of class "list"; the model.
predict:
Object of class "function"; code to compute a recommendation using the model.

Methods

getModel
signature(x = "Recommender"): retrieve the model.
predict
signature(object = "Recommender"): create recommendations for new data (argument newdata).
show
signature(object = "Recommender")

See Also

See Recommender for the constructor and ratingMatrix.


[Package recommenderlab version 0.1-0 Index]