Alcalaetal-A: Alcalaetal_A KEEL Association Rules Algorithm

Description Usage Arguments Details Value Examples

Description

Alcalaetal_A Association Rules Algorithm from KEEL.

Usage

1
2
3
4
Alcalaetal_A(dat, seed, NumberofEvaluations, PopulationSize, NumberofBitsperGene, 
  DecreasingFactorofLthresholdNOTUSED, FactorforParentCentricBLXCrossover, 
  NumberofFuzzyRegionsforNumericAttributes, UseMaxOperatorfor1FrequentItemsets, 
  MinimumSupport, MinimumConfidence)

Arguments

dat

Dataset as a data.frame object

seed

seed. Default value = 1286082570

NumberofEvaluations

Number of Evaluations. Default value = 10000

PopulationSize

Population Size. Default value = 50

NumberofBitsperGene

Number of Bits per Gene. Default value = 30

DecreasingFactorofLthresholdNOTUSED

Decreasing Factor of Lthreshold NOT USED. Default value = 0.1

FactorforParentCentricBLXCrossover

Factor for Parent Centric BLXCrossover. Default value = 1.0

NumberofFuzzyRegionsforNumericAttributes

Number of Fuzzy Regions for Numeric Attributes. Default value = 3

UseMaxOperatorfor1FrequentItemsets

Use Max Operator for 1 Frequent Itemsets. Default value = "false"

MinimumSupport

Minimum Support. Default value = 0.1

MinimumConfidence

Minimum Confidence. Default value = 0.8

Details

$run() Run algorith

$showRules(numRules) Show a number of rules. By default all rules.

$getInterestMeasures() Return a data.frame with all interest measures of set rules.

$sortBy(interestMeasure) Order set rules by interest measure.

$writeCSV(fileName, sep) Create CSV file with set rules. Default fileName="rules" sep=","

$writePMML(fileName) Create PMML file with set rules. Default fileName="rules"

$addInterestMeasure(name, colName) Add interest measures to set rules. Some interest measures supported:

"allConfidence" (Omiencinski, 2003)

"crossSupportRatio", cross-support ratio (Xiong et al., 2003)

"lift", interest factor (Brin et al. 1997)

"support", supp (Agrawal et al., 1996)

"addedValue", added Value, AV, Pavillon index, centered confidence (Tan et al., 2002)

"chiSquared", X^2 (Liu et al., 1999)

"certainty", certainty factor, CF, Loevinger (Berzal et al., 2002)

"collectiveStrength"

"confidence", conf (Agrawal et al., 1996)

"conviction" (Brin et al. 1997)

"cosine" (Tan et al., 2004)

"coverage", cover, LHS-support

"confirmedConfidence", descriptive confirmed confidence (Kodratoff, 1999)

"casualConfidence", casual confidence (Kodratoff, 1999)

"casualSupport", casual support (Kodratoff, 1999)

"counterexample", example and counterexample rate

"descriptiveConfirm", descriptive-confirm (Kodratoff, 1999)

"doc", difference of confidence (Hofmann and Wilhelm, 2001)

"fishersExactTest", Fisher's exact test (Hahsler and Hornik, 2007)

"gini", Gini index (Tan et al., 2004)

"hyperLift" (Hahsler and Hornik, 2007)

"hyperConfidence" (Hahsler and Hornik, 2007)

"imbalance", imbalance ratio, IR (Wu, Chen and Han, 2010)

"implicationIndex", implication index (Gras, 1996)

"improvement" (Bayardo et al., 2000)

"jaccard", Jaccard coefficient (Tan and Kumar, 2000)

"jMeasure", J-measure, J (Smyth and Goodman, 1991)

"kappa" (Tan and Kumar, 2000)

"klosgen", Klosgen (Tan and Kumar, 2000)

"kulczynski" (Wu, Chen and Han, 2007; Kulczynski, 1927)

"lambda", Goodman-Kruskal lambda, predictive association (Tan and Kumar, 2000)

"laplace", L (Tan and Kumar 2000)

"leastContradiction", least contradiction (Aze and Kodratoff, 2004

"lerman", Lerman similarity (Lerman, 1981)

"leverage", PS (Piatetsky-Shapiro 1991)

"mutualInformation", uncertainty, M (Tan et al., 2002)

"oddsRatio", odds ratio alpha (Tan et al., 2004)

"phi", correlation coefficient phi (Tan et al. 2004)

"ralambrodrainy", Ralambrodrainy Measure (Ralambrodrainy, 1991)

"RLD", relative linkage disequilibrium (Kenett and Salini, 2008)

"sebag", Sebag measure (Sebag and Schoenauer, 1988)

"support", supp (Agrawal et al., 1996)

"varyingLiaison", varying rates liaison (Bernard and Charron, 1996)

"yuleQ", Yule's Q (Tan and Kumar, 2000)

"yuleY", Yule's Y (Tan and Kumar, 2000)

For more information see ?arules::interestMeasure

Value

A arules class with the Association Rules for both dat dataset.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#Load KEEL dataset iris
#dat<-loadKeelDataset("iris")

#Create algorithm
#algorithm <- Alcalaetal_A(dat)

#Run algorithm
#algorithm$run()

#Rules in format arules
#algorithm$rules

#Show a number of rules
#algorithm$showRules(2)

#Return a data.frame with all interest measures of set rules
#algorithm$getInterestMeasures()

#Add interst measure YuleY to set rules
#algorithm$addInterestMeasure("YuleY","yulesY")

#Sort by interest measure lift
#algorithm$sortBy("lift")

#Save rules in CSV file
#algorithm$writeCSV("myrules")

#Save rules in PMML file
#algorithm$writePMML("myrules")

RKEEL documentation built on March 19, 2020, 5:09 p.m.

Related to Alcalaetal-A in RKEEL...