buildFPGrowth {rCBA}R Documentation

Build classifier function (FP-Growth-based)

Description

Automatic build of the classification model using the FP-Growth algorithm

Usage

buildFPGrowth(train, className = NULL, verbose = TRUE,
  parallel = TRUE)

Arguments

train

data.frame or transactions from arules with input data

className

column name with the target class - default is the last column

verbose

verbose indicator

parallel

parallel indicator

Value

list with parameters and model as data.frame with rules

Examples

library("rCBA")
data("iris")

output <- rCBA::buildFPGrowth(iris[sample(nrow(iris), 10),], "Species",
 parallel=FALSE, verbose=TRUE)
inspect(output$model)


[Package rCBA version 0.4.3 Index]