Package | Description |
---|---|
pl.poznan.put.cs.idss.jrs.apriori | |
pl.poznan.put.cs.idss.jrs.classifiers | |
pl.poznan.put.cs.idss.jrs.jmaf | |
pl.poznan.put.cs.idss.jrs.jmaf.parser | |
pl.poznan.put.cs.idss.jrs.rules |
Modifier and Type | Method | Description |
---|---|---|
Rule |
Complex.toForemkaRule(Union union,
int typeOfRule,
MemoryContainer learningMemoryContainer,
double consistencyLevel,
ApproximatedEntityDecisionsPredictor unionsDecisionsPredictor) |
Creates and returns
ForemkaRule object that represents this complex |
Modifier and Type | Method | Description |
---|---|---|
java.util.ArrayList<Rule> |
RulesDRSAClassificationMethod.getDownwardRulesCovering(Example example) |
Gets list of downward rules covering given example
|
java.util.ArrayList<Rule> |
RulesVCDRSAClassificationMethod.getDownwardRulesCovering(Example example) |
|
abstract java.util.ArrayList<Rule> |
RulesClassificationMethod.getRulesCovering(Example example) |
Gets list of rules covering given example
|
java.util.ArrayList<Rule> |
RulesDRSAClassificationMethod.getRulesCovering(Example example) |
Gets list of rules covering given example
|
java.util.ArrayList<Rule> |
RulesHybridClassificationMethod.getRulesCovering(Example example) |
|
java.util.ArrayList<Rule> |
RulesVCDRSAClassificationMethod.getRulesCovering(Example example) |
|
java.util.ArrayList<Rule> |
RulesDRSAClassificationMethod.getUpwardRulesCovering(Example example) |
Gets list of upward rules covering given example
|
java.util.ArrayList<Rule> |
RulesVCDRSAClassificationMethod.getUpwardRulesCovering(Example example) |
Modifier and Type | Method | Description |
---|---|---|
static Rule[] |
JRSTools.getCoverage(Example example,
RulesContainer rulesContainer) |
Finds rules of all types that cover given example
|
static Rule[] |
JRSTools.getRules(RulesContainer rulesContainer) |
Gets rules from container and puts in on the array
|
Modifier and Type | Method | Description |
---|---|---|
Rule |
RulesMap.get(java.lang.Integer index) |
Gets the rule with given index
|
Rule |
IndexedRule.getRule() |
Gets the rule
|
Modifier and Type | Method | Description |
---|---|---|
void |
RulesMap.put(java.lang.Integer index,
Rule rule) |
Puts given rule at given index
|
void |
IndexedRule.setRule(Rule rule) |
Sets the rule
|
Modifier and Type | Class | Description |
---|---|---|
class |
OptRule |
Optimization of the
Rule class. |
Modifier and Type | Method | Description |
---|---|---|
Rule[] |
Rule.decomposePairConditionsToSingleConditionsForPairOfValues() |
Decomposes each
PairCondition present in this rule into set of SingleConditionForPairOfValues objects
by means of PairCondition.decomposeToSingleConditionsForPairOfValues() method. |
Rule |
RuleStatistics.getRule() |
Gets rule for which these statistics are defined (gives direct access to that rule)
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.ArrayList<Rule> |
EntireDominanceConesRulesForBordersOfApproximations.generateRules(ApproximatedEntity[] approximatedEntities,
double consistencyLevel,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor,
int type,
int characteristicDecisionClassUsageTip,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer) |
TODO
|
java.util.ArrayList<Rule> |
EntireGranulesRuleGenerator.generateRules() |
Generates decision rules just like
EntireGranulesRuleGenerator.generateRules(ApproximatedEntity[], double[], ApproximatedEntityDecisionsPredictor, int, int, ConditionValidator, MemoryContainer) method,
but uses fields of this object, rather than given parameters. |
java.util.ArrayList<Rule> |
EntireGranulesRuleGenerator.generateRules(ApproximatedEntity[] approximatedEntities,
double[] variableConsistencyParameterValueThresholds,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor,
int type,
int characteristicDecisionClassUsageTip,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer) |
Generates decision rules of given type (certain, possible or approximate),
for given set (array) of approximated entities (unions of decision classes or single decision classes),
for given variable consistency parameter value thresholds (support for variable consistency approach),
for given characteristic decision class usage tip (which affects type of created conditions and decisions)
and for given learning memory container which may be either decision table, or PCT, or similarity table.
This method can be used to generate all non-minimal robust (object-based) rules of given type, for all possible decision classes or for all possible upward / downward unions of decision classes. This method considers consecutive approximated entities (from the first, with zero index, to the last). |
java.util.ArrayList<Rule> |
EntireGranulesRuleGenerator.generateRules(ApproximatedEntity[] approximatedEntities,
double variableConsistencyParameterValueThreshold,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor,
int type,
int characteristicDecisionClassUsageTip,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer) |
|
abstract java.util.ArrayList<Rule> |
RuleGenerator.generateRules() |
Generates decision rules.
|
java.util.ArrayList<Rule> |
VCDomLem.generateRules() |
Generates decision rules just like
generateRules(ApproximatedEntity[], double[], ApproximatedEntityDecisionsPredictor, int, int, ConditionValidator, MemoryContainer, int, int) method,
but uses fields of this object, rather than given parameters. |
java.util.ArrayList<Rule> |
VCDomLem.generateRules(ApproximatedEntity[] approximatedEntities,
double[] variableConsistencyParameterValueThresholds,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor,
int type,
int characteristicDecisionClassUsageTip,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer,
int conditionsSelectionMethod,
int negativeExamplesTreatment) |
Generates decision rules of given type (certain, possible or approximate),
for given set (array) of approximated entities (unions of decision classes or single decision classes),
for given variable consistency parameter value thresholds (support for variable consistency approach),
for given characteristic decision class usage tip (which affects type of created conditions and decisions)
and for given learning memory container which may be either decision table, or PCT, or similarity table.
This method can be used to generate all minimal cover rules of given type, for all possible decision classes or for all possible upward / downward unions of decision classes. This method assumes that if given set of approximated entities contains unions of decision classes, these unions are sorted from most specific to less specific. |
java.util.ArrayList<Rule> |
VCDomLem.generateRules(ApproximatedEntity[] approximatedEntities,
double variableConsistencyParameterValueThreshold,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor,
int type,
int characteristicDecisionClassUsageTip,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer,
int conditionsSelectionMethod,
int negativeExamplesTreatment) |
Wrapper for
generateRules(ApproximatedEntity[], double[], ApproximatedEntityDecisionsPredictor, int, int, ConditionValidator, MemoryContainer, int, int) method. |
static java.util.ArrayList<Rule> |
EntireDominanceConesRulesForBordersOfApproximations.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples,
double requiredMinimalConfidence) |
TODO
|
java.util.ArrayList<Rule> |
EntireGranulesRuleGenerator.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Generates decision rules of given type (certain, possible or approximate),
for given characteristic decision class (basic class of some union of decision classes or single decision class),
for given characteristic decision class usage tip (which tells if given characteristic decision class is
basic class of some upward (
AT_LEAST ) or downward (AT_MOST ) union of decision classes
or just single decision class (EQUAL );
value of this parameter affects also type of created conditions),
for given decisions (which will be set on the right (decision) side of all created and returned rules),
for given learning memory container which may be either decision table, or PCT, or similarity table,
and for given array with numbers of positive examples from given learning memory container
(which may come from lower / upper approximation or boundary of some decision class
or from lower / upper approximation of some upward / downward union of decision classes). |
java.util.ArrayList<Rule> |
VCDomLem.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples,
int[] numbersOfApproximatedEntityExamples,
double variableConsistencyMeasureValueThreshold,
int conditionsSelectionMethod,
java.util.HashSet<java.lang.Integer> numbersOfPermittedNegativeCoveredExamples,
java.util.HashSet<java.lang.Integer> numbersOfNeutralExamples) |
Generates decision rules of given type (certain, possible or approximate),
for given characteristic decision class (basic class of some union of decision classes or single decision class),
for given characteristic decision class usage tip (which tells if given characteristic decision class is
basic class of some upward (
Rule.AT_LEAST ) or downward (Rule.AT_MOST ) union of decision classes
or just single decision class (Rule.EQUAL );
value of this parameter affects also type of created conditions),
for given decisions (which will be set on the right (decision) side of all created and returned rules),
for given learning memory container which may be either decision table, or PCT, or similarity table,
for given array with numbers of positive examples from given learning memory container
(which may come from lower / upper approximation or boundary of some decision class
or from lower / upper approximation of some upward / downward union of decision classes),
for given variable consistency measure value threshold (support for variable consistency approach),
for given method of selection of conditions
and for given hash set with numbers of permitted negative examples (used only for VC-IRSA / VC-DRSA).SIC! |
java.util.ArrayList<Rule> |
RulesContainer.getCoveringRules(Example example,
int type,
int characteristicDecisionClassUsageTip) |
Gets list of all rules (of given type, for given characteristic decision class usage tip) covering given example
|
java.util.ArrayList<Rule> |
RulesContainer.getRules(int type,
int characteristicDecisionClassUsageTip) |
Gets decision rules stored for given combination of type and characteristic decision class usage tip.
|
static java.util.ArrayList<Rule> |
RulesFilter.supportFilter(java.util.ArrayList<Rule> rules,
int[] minSupports) |
Searches through given list of decision rules and chooses those only rules which have sufficient support.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RulesCoveringInSet.addRuleCovering(Rule rule) |
Adds all objects that are covered by the rule to the covered objects.
|
static java.util.HashSet<java.lang.Integer> |
Rule2ApproximatedEntity.getApproximatedEntityExamples(Rule rule) |
Gets hash set with numbers of all examples belonging to the approximated entity (union or decision class)
for which given decision rule has been created.
|
static int |
Rule2ApproximatedEntity.getApproximatedEntitySize(Rule rule) |
Gets quantity of examples belonging to the approximated entity (union or decision class)
for which given decision rule has been created.
|
void |
RulesCoveringInSet.setRuleCovering(Rule rule) |
|
void |
RulesContainer.storeRule(Rule rule) |
Adds given rule to the end of appropriate list of rules stored in this class.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RulesCoveringInSet.addRuleCovering(java.util.ArrayList<Rule> rules) |
Adds all objects that are covered by the rules from array list to
to the covered objects.
|
void |
RulesCoveringInSet.setRuleCovering(java.util.ArrayList<Rule> rules) |
|
static java.util.ArrayList<Rule> |
RulesFilter.supportFilter(java.util.ArrayList<Rule> rules,
int[] minSupports) |
Searches through given list of decision rules and chooses those only rules which have sufficient support.
|
Constructor | Description |
---|---|
RuleStatistics(Rule rule) |
Constructor of the
RuleStatistics class. |