Recommender

0th

Percentile

Create a Recommender Model

Learns a recommender model from given data.

Usage
Recommender(data, ...)
# S4 method for ratingMatrix
Recommender(data, method, parameter=NULL)
Arguments
data

training data.

method

a character string defining the recommender method to use (see details).

parameter

parameters for the recommender algorithm.

further arguments.

Details

Recommender uses the registry mechanism from package registry to manage methods. This let's the user easily specify and add new methods. The registry is called recommenderRegistry. See examples section.

Value

An object of class 'Recommender'.

See Also

'>Recommender, '>ratingMatrix.

Aliases
  • Recommender
  • recommenderRegistry
  • Recommender,ratingMatrix-method
  • getModel,Recommender-method
Examples
# NOT RUN {
data("MSWeb")
MSWeb10 <- sample(MSWeb[rowCounts(MSWeb) >10,], 100)

rec <- Recommender(MSWeb10, method = "POPULAR")
rec

getModel(rec)

## look at registry and a few methods
recommenderRegistry$get_entry_names()

recommenderRegistry$get_entry("POPULAR", dataType = "binaryRatingMatrix")

recommenderRegistry$get_entry("SVD", dataType = "realRatingMatrix")
# }
Documentation reproduced from package recommenderlab, version 0.2-3, License: GPL-2

Community examples

Looks like there are no examples yet.