Learn R Programming

RMOA (version 1.1.0)

MOA_recommender: Create a MOA recommendation engine

Description

Create a MOA recommendation engine

Usage

MOA_recommender(model, control = NULL, ...)

Value

An object of class MOA_recommender

Arguments

model

character string with a model. E.g. BRISMFPredictor, BaselinePredictor The list of known models can be obtained by typing RMOA:::.moaknownmodels. See the examples and MOAoptions.

control

an object of class MOAmodelOptions as obtained by calling MOAoptions

...

options of parameters passed on to MOAoptions, in case control is left to NULL. Ignored if control is supplied

See Also

MOAoptions

Examples

Run this code
RMOA:::.moaknownmodels
ctrl <- MOAoptions(model = "BRISMFPredictor", features = 10, lRate=0.002)
brism <- MOA_recommender(model = "BRISMFPredictor", control=ctrl)
brism
MOAoptions(model = "BaselinePredictor")
baseline <- MOA_recommender(model = "BaselinePredictor")
baseline

Run the code above in your browser using DataLab