Class ContinuousStump

java.lang.Object
  extended by Stump
      extended by ContinuousStump
All Implemented Interfaces:
java.io.Serializable
public class ContinuousStump
extends Stump

Class ContinuousStump

Version:
1.0
Author:
Fabien Torre
See Also:
Serialized Form

Constructor Summary
ContinuousStump()
           
ContinuousStump(ProblemDescription pb, ExamplesSet trainingExamples, int aId, float v, int ifTrue, int ifFalse)
           
 
Method Summary
 int classifyExample(Example ex)
           
 boolean equals(java.lang.Object o)
           
 Stump reverseStump()
           
 java.lang.String toString()
          Transforms a discrete stump in String.
 
Methods inherited from class Stump
addToStumpWeight, cleanStump, getStumpError, getStumpWeight, normalizeStumpWeight, setStumpError, setStumpWeight, updateExamplesWeights
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContinuousStump

public ContinuousStump()

ContinuousStump

public ContinuousStump(ProblemDescription pb,
                       ExamplesSet trainingExamples,
                       int aId,
                       float v,
                       int ifTrue,
                       int ifFalse)
Method Detail

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