java.lang.Cloneable, ClassificationMethod, DRSAMethod, VCDRSAMethodpublic class RulesHybridClassificationMethod extends RulesClassificationMethod implements DRSAMethod, VCDRSAMethod
firstDecisionIndex| Constructor | Description |
|---|---|
RulesHybridClassificationMethod() |
|
RulesHybridClassificationMethod(RulesDRSAClassificationMethod drsaClassificationMethod,
RulesVCDRSAClassificationMethod vcdrsaClassificationMethod) |
| Modifier and Type | Method | Description |
|---|---|---|
ClassificationResult |
classify(Example example) |
Classifies given example
|
java.util.ArrayList<Rule> |
getRulesCovering(Example example) |
Gets list of rules covering given example
|
void |
setDecisionAttributePreferenceType(Attribute decisionAttribute) |
Sets preference type (COST or GAIN) of the decision attribute.
|
void |
setMemoryContainer(MemoryContainer memoryContainer) |
|
void |
setRulesContainer(RulesContainer rulesContainer) |
Sets rules container that is used to classify examples.
|
void |
setRulesDRSAClassificationMethod(RulesDRSAClassificationMethod method) |
|
void |
setRulesVCDRSAClassificationMethod(RulesVCDRSAClassificationMethod method) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclonepublic RulesHybridClassificationMethod()
public RulesHybridClassificationMethod(RulesDRSAClassificationMethod drsaClassificationMethod, RulesVCDRSAClassificationMethod vcdrsaClassificationMethod)
public ClassificationResult classify(Example example)
RulesClassificationMethodclassify in interface ClassificationMethodclassify in class RulesClassificationMethodexample - example to classify using rules from stored rules containerpublic java.util.ArrayList<Rule> getRulesCovering(Example example)
RulesClassificationMethodgetRulesCovering in class RulesClassificationMethodexample - example for which list of covering rules is calculatedpublic void setRulesContainer(RulesContainer rulesContainer) throws java.lang.NullPointerException
setRulesContainer in class RulesClassificationMethodrulesContainer - new rules containerjava.lang.NullPointerExceptionpublic void setDecisionAttributePreferenceType(Attribute decisionAttribute)
DRSAMethodsetDecisionAttributePreferenceType in interface DRSAMethoddecisionAttribute - reference to the decision attribute.public void setMemoryContainer(MemoryContainer memoryContainer)
setMemoryContainer in interface VCDRSAMethodpublic void setRulesDRSAClassificationMethod(RulesDRSAClassificationMethod method)
public void setRulesVCDRSAClassificationMethod(RulesVCDRSAClassificationMethod method)