public class GeneticFuzzyAprioriProcess
extends java.lang.Object
It provides the implementation of the algorithm to be run in a process
Constructor and Description |
---|
GeneticFuzzyAprioriProcess(myDataset dataset,
int nEvaluations,
int popSize,
double pm,
double pc,
double d,
int nFuzzyRegionsForNumericAttributes,
boolean useMaxForOneFrequentItemsets,
double minSupport,
double minConfidence)
It creates a new process for the algorithm by setting up its parameters
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<FuzzyAttribute> |
getFuzzyAttributes()
It returns the mined fuzzy attributes once the genetic learning has been accomplished
|
java.lang.String |
getGeneticLearningLog()
It returns the XML string representing the genetic learning log
|
int |
getNumberOfOneFrequentItemsets()
It returns the number of 1-Frequent Itemsets
|
java.util.ArrayList<AssociationRule> |
getRulesSet()
It returns a rules set once the algorithm has been carried out
|
void |
printReport(java.util.ArrayList<AssociationRule> rules)
It prints out on screen relevant information regarding the mined association rules
|
void |
run()
It runs the algorithm for mining association rules
|
public GeneticFuzzyAprioriProcess(myDataset dataset, int nEvaluations, int popSize, double pm, double pc, double d, int nFuzzyRegionsForNumericAttributes, boolean useMaxForOneFrequentItemsets, double minSupport, double minConfidence)
It creates a new process for the algorithm by setting up its parameters
dataset
- The instance of the dataset for dealing with its recordsnEvaluations
- The maximum number of evaluations to accomplish before terminating the genetic learningpopSize
- The maximum size of population to handle after each generationpm
- The probability of the mutation operatorpc
- The probability of the crossover operatord
- The parameter which is used while executing the crossover operatornFuzzyRegionsForNumericAttributes
- The number of fuzzy regions with which numeric attributes are evaluateduseMaxForOneFrequentItemsets
- It indicates whether the max operator must be used while discovering 1-Frequent ItemsetsminSupport
- The user-specified minimum support for the mined association rulesminConfidence
- The user-specified minimum confidence for the mined association rulespublic void run()
It runs the algorithm for mining association rules
public java.util.ArrayList<AssociationRule> getRulesSet()
It returns a rules set once the algorithm has been carried out
public void printReport(java.util.ArrayList<AssociationRule> rules)
It prints out on screen relevant information regarding the mined association rules
rules
- The array of association rules from which gathering relevant informationpublic int getNumberOfOneFrequentItemsets()
It returns the number of 1-Frequent Itemsets
public java.lang.String getGeneticLearningLog()
It returns the XML string representing the genetic learning log
public java.util.ArrayList<FuzzyAttribute> getFuzzyAttributes()
It returns the mined fuzzy attributes once the genetic learning has been accomplished