public class Apriori
extends java.lang.Object
Title: Apriori
Description: This class mines the frecuent fuzzy itemsets and the fuzzy classification associacion rules
Copyright: Copyright KEEL (c) 2007
Company: KEEL
Constructor and Description |
---|
Apriori()
Default Constructor.
|
Apriori(RuleBase ruleBase,
DataBase dataBase,
myDataset train,
double minsup,
double minconf,
int depth)
Builder
|
Modifier and Type | Method and Description |
---|---|
void |
generateRB()
Generate the rule set (Stage 1 and 2)
|
long |
getRulesStage1()
Returns the rules generated on the Stage 1.
|
int |
hasUncoverClass(int clas)
Indentifies how many times a class has been uncovered.
|
public Apriori()
Default Constructor.
public Apriori(RuleBase ruleBase, DataBase dataBase, myDataset train, double minsup, double minconf, int depth)
Builder
ruleBase
- Rule basedataBase
- Data Basetrain
- Training datasetminsup
- Minimum support.minconf
- Maximum Confidence.depth
- Depth of the trees (Depthmax)public void generateRB()
Generate the rule set (Stage 1 and 2)
public int hasUncoverClass(int clas)
clas
- Class given to compute the number of times.public long getRulesStage1()