Class DiscreteStump
java.lang.Object
Stump
DiscreteStump
- All Implemented Interfaces:
- java.io.Serializable
public class DiscreteStump
- extends Stump
Class DiscreteStump
- Version:
- 1.0
- Author:
- Fabien Torre
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
DiscreteStump
public DiscreteStump()
DiscreteStump
public DiscreteStump(ProblemDescription pb,
ExamplesSet trainingExamples,
int aId,
int vId,
int ifTrue,
int ifFalse)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class Stump
classifyExample
public int classifyExample(Example ex)
- Specified by:
classifyExample
in class Stump
reverseStump
public Stump reverseStump()
- Specified by:
reverseStump
in class Stump
toString
public java.lang.String toString()
- Transforms a discrete stump in String.
- Overrides:
toString
in class java.lang.Object