crs: Collaborative Filtering

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.