java.lang.Cloneable, ClassificationMethod, VCDRSAMethodAllRulesVCDRSAClassificationMethod, StrongRulesVCDRSAClassificationMethodpublic abstract class RulesVCDRSAClassificationMethod extends RulesClassificationMethod implements VCDRSAMethod
| Modifier and Type | Field | Description |
|---|---|---|
static int |
CERTAIN_AND_POSSIBLE |
Flag used as a value of classification type, when certain and possible decision rules are used
|
static int |
ONLY_CERTAIN |
Flag used as a value of classification type, when only certain decision rules are used
|
static int |
ONLY_POSSIBLE |
Flag used as a value of classification type, when only possible decision rules are used
|
firstDecisionIndex| Constructor | Description |
|---|---|
RulesVCDRSAClassificationMethod() |
|
RulesVCDRSAClassificationMethod(MemoryContainer memoryContainer,
RulesContainer rulesContainer) |
Constructor that takes into account rule type used for classification
|
RulesVCDRSAClassificationMethod(MemoryContainer memoryContainer,
RulesContainer rulesContainer,
int ruleType) |
Constructor that takes into account rule type used for classification
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
java.util.ArrayList<Rule> |
getDownwardRulesCovering(Example example) |
|
java.util.ArrayList<Rule> |
getRulesCovering(Example example) |
Gets list of rules covering given example
|
int |
getRuleType() |
|
java.util.ArrayList<Rule> |
getUpwardRulesCovering(Example example) |
|
boolean |
isProportional() |
|
void |
setMemoryContainer(MemoryContainer memoryContainer) |
|
void |
setProportional(boolean proportional) |
|
void |
setRuleType(int ruleType) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassify, setRulesContainerpublic static final int ONLY_CERTAIN
public static final int CERTAIN_AND_POSSIBLE
public static final int ONLY_POSSIBLE
public RulesVCDRSAClassificationMethod()
public RulesVCDRSAClassificationMethod(MemoryContainer memoryContainer, RulesContainer rulesContainer)
memoryContainer - container with data used for estimation of support of rulesrulesContainer - container with rulespublic RulesVCDRSAClassificationMethod(MemoryContainer memoryContainer, RulesContainer rulesContainer, int ruleType)
memoryContainer - container with data used for estimation of suport of rulesrulesContainer - container with rulesruleType - type of rules used in classification (e.g. ONLY_CERTAIN)public void setMemoryContainer(MemoryContainer memoryContainer)
setMemoryContainer in interface VCDRSAMethodpublic boolean isProportional()
public void setProportional(boolean proportional)
public java.util.ArrayList<Rule> getRulesCovering(Example example)
RulesClassificationMethodgetRulesCovering in class RulesClassificationMethodexample - example for which list of covering rules is calculatedpublic java.util.ArrayList<Rule> getDownwardRulesCovering(Example example)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface ClassificationMethodclone in class RulesClassificationMethodjava.lang.CloneNotSupportedExceptionpublic int getRuleType()
public void setRuleType(int ruleType)