November 2017
Beginner to intermediate
366 pages
7h 59m
English
Let's get back to our retailer. Let's use what we have built so far to provide recommendations to our retailer for his cross-selling strategy.
This can be implemented using the following code:
########################################################################### # # R Data Analysis Projects # # Chapter 1 # # Building Recommender System # A step step approach to build Association Rule Mining # # # Script: # Generating rules for cross sell campaign. # # # Gopi Subramanian ###########################################################################
library(arules)library(igraph)
get.txn <- function(data.path, columns){ # Get transaction object for a given data file # # Args: # data.path: data file name location ...Read now
Unlock full access