Collaborative Filtering
crs(dataset, id, prod, pred, rate, data_filter = "")
Dataset name (string). This can be a dataframe in the global environment or an element in an r_data list from Radiant
String with name of the variable containing user ids
String with name of the variable with product ids
Products to predict for
String with name of the variable with product ratings
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "training == 1")
A data.frame with the original data and a new column with predicted ratings
See https://radiant-rstats.github.io/docs/model/crs.html for an example in Radiant