powered by
Automatic build of the classification model using the FP-Growth algorithm
buildFPGrowth(train, className = NULL, verbose = TRUE, parallel = TRUE)
data.frame or transactions from arules with input data
data.frame
transactions
arules
column name with the target class - default is the last column
verbose indicator
parallel indicator
list with parameters and model as data.frame with rules
# NOT RUN { library("rCBA") data("iris") output <- rCBA::buildFPGrowth(iris[sample(nrow(iris), 10),], "Species", parallel=FALSE, verbose=TRUE) inspect(output$model) # }
Run the code above in your browser using DataLab