Collaborative Filtering

Share:

Description

Collaborative Filtering

Usage

1
crs(dataset, id, prod, pred, rate, name = "pred", data_filter = "")

Arguments

dataset

Dataset name (string). This can be a dataframe in the global environment or an element in an r_data list from Radiant

id

String with name of the variable containing user ids

prod

String with name of the variable with product ids

pred

Products to predict for

rate

String with name of the variable with product ratings

name

Name for the prediction variable

data_filter

Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")

Details

See http://radiant-rstats.github.io/docs/model/crs.html for an example in Radiant

Value

A data.frame with the original data and a new column with predicted ratings

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.