- model
an object of class MOA_model
, as returned by MOA_recommender
, e.g.
a BRISMFPredictor
- formula
a symbolic description of the model to be fit. This should be of the form rating ~ userid + itemid, in that sequence.
These should be columns in the data
, where userid and itemid are integers and rating is numeric.
- data
an object of class datastream
set up e.g. with datastream_file
,
datastream_dataframe
, datastream_matrix
, datastream_ffdf
or your own datastream.
- subset
an optional vector specifying a subset of observations to be used in the fitting process.
- na.action
a function which indicates what should happen when the data contain NA
s.
See model.frame
for details. Defaults to na.exclude
.
- transFUN
a function which is used after obtaining chunksize
number of rows
from the data
datastream before applying model.frame
. Useful if you want to
change the results get_points
on the datastream
(e.g. for making sure the factor levels are the same in each chunk of processing, some data cleaning, ...).
Defaults to identity
.
- chunksize
the number of rows to obtain from the data
datastream in one chunk of model processing.
Defaults to 1000. Can be used to speed up things according to the backbone architecture of
the datastream.
- trace
logical, indicating to show information on how many datastream chunks are already processed
as a message
.
- options
a names list of further options. Currently not used.
- ...
other arguments, currently not used yet