Description Usage Arguments Value
NCF Utility Function: Transform transaction data to a data with 0-1 labels
1 | ncf_data_transform(data, top = 1000)
|
data |
Transaction dataset. Format must be order_id (could be dummy), user_id, and product_id |
top |
Number of top products and customers to include. Can be NULL (e.g. will include everything) |
returns a dataset with user_id, product_id, label (0,1 indicating if past purchase exists)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.