Class Stump
java.lang.Object Stump
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ContinuousStump, DiscreteStump
public abstract class Stump
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
Class Stump
- Version:
- 1.0
- Author:
- Fabien Torre
- See Also:
- Serialized Form
Method Summary | |
---|---|
void |
addToStumpWeight(double w)
|
abstract int |
classifyExample(Example ex)
|
void |
cleanStump()
|
abstract boolean |
equals(java.lang.Object o)
|
double |
getStumpError()
|
double |
getStumpWeight()
|
void |
normalizeStumpWeight(double s)
|
abstract Stump |
reverseStump()
|
void |
setStumpError(double e)
|
void |
setStumpWeight(double w)
|
void |
updateExamplesWeights(double alpha)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
setStumpWeight
public void setStumpWeight(double w)
setStumpError
public void setStumpError(double e)
addToStumpWeight
public void addToStumpWeight(double w)
normalizeStumpWeight
public void normalizeStumpWeight(double s)
getStumpWeight
public double getStumpWeight()
getStumpError
public double getStumpError()
updateExamplesWeights
public void updateExamplesWeights(double alpha)
cleanStump
public void cleanStump()
equals
public abstract boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
classifyExample
public abstract int classifyExample(Example ex)
reverseStump
public abstract Stump reverseStump()