buildFPGrowth {rCBA} | R Documentation |
Automatic build of the classification model using the FP-Growth algorithm
buildFPGrowth(train, className = NULL, verbose = TRUE,
parallel = TRUE)
train |
|
className |
column name with the target class - default is the last column |
verbose |
verbose indicator |
parallel |
parallel indicator |
list with parameters and model as data.frame with rules
library("rCBA")
data("iris")
output <- rCBA::buildFPGrowth(iris[sample(nrow(iris), 10),], "Species",
parallel=FALSE, verbose=TRUE)
inspect(output$model)