buildFPGrowth: Build classifier function (FP-Growth-based)

Description Usage Arguments Value Examples

View source: R/buildFPGrowth.R

Description

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

Usage

1
2
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

1
2
3
4
5
6
library("rCBA")
data("iris")

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

rCBA documentation built on May 30, 2019, 1:01 a.m.

Related to buildFPGrowth in rCBA...