com.rapidminer.operator.learner.subgroups.hypothesis
Class Hypothesis
java.lang.Object
com.rapidminer.operator.learner.subgroups.hypothesis.Hypothesis
- All Implemented Interfaces:
- java.io.Serializable
public class Hypothesis
- extends java.lang.Object
- implements java.io.Serializable
This is a hypothesis for subgroup discovery.
- Author:
- Tobias Malbrecht
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
POSITIVE_RULE
public static final int POSITIVE_RULE
- See Also:
- Constant Field Values
NEGATIVE_RULE
public static final int NEGATIVE_RULE
- See Also:
- Constant Field Values
PREDICTION_RULE
public static final int PREDICTION_RULE
- See Also:
- Constant Field Values
POSITIVE_AND_NEGATIVE_RULES
public static final int POSITIVE_AND_NEGATIVE_RULES
- See Also:
- Constant Field Values
RULE_GENERATION_MODES
public static final java.lang.String[] RULE_GENERATION_MODES
Hypothesis
public Hypothesis()
Hypothesis
public Hypothesis(java.util.Collection<Literal> literals)
apply
public void apply(Example example)
applicable
public boolean applicable(Example example)
refine
public java.util.LinkedList<Hypothesis> refine(java.lang.Iterable<Attribute> attributes)
restrictedRefine
public java.util.LinkedList<Hypothesis> restrictedRefine(java.lang.Iterable<Attribute> attributes)
restrictedRefine
public java.util.LinkedList<Hypothesis> restrictedRefine()
subsume
public Hypothesis subsume(Hypothesis otherHypothesis)
combine
public Hypothesis combine(Hypothesis otherHypothesis)
generateRules
public java.util.LinkedList<Rule> generateRules(int ruleGenerationMode,
Attribute label)
getNumberOfLiterals
public int getNumberOfLiterals()
getCoveredWeight
public double getCoveredWeight()
getPositiveWeight
public double getPositiveWeight()
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class java.lang.Object
clone
public Hypothesis clone()
- Overrides:
clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 by Rapid-I