knitr::opts_chunk$set(echo = TRUE)
library(rrecsys)

Dispatcher

Similar to other packages in R (i.e.: proxy, etc.), rrecsys uses a formal method in combination to a registry to execute a specific function. The non-primitive function rrecsys will process only S4 object of type dataSet. The dispatcher has two main arguments, the dataset (data), and the algorithm name (alg, which isn't case sensitive and might be matched even partially) the rest are the ellipses which depend on the required algorithm:

# Usage
rrecsys(data, alg, ...)

The argument data, class dataSet, represents the training set.

The argument alg, class character, represents the method to execute on the training set.

The elipses changed based on the required algorithm.

The registry

The registry is a structure that may be used even autonomously. The main function of registry would be to display available recommender algorithms in rrecsys and theirs default configuration. To call it:

rrecsysRegistry


Try the rrecsys package in your browser

Any scripts or data that you put into this service are public.

rrecsys documentation built on June 10, 2019, 1:02 a.m.