Class StumpsSet
java.lang.Object
StumpsSet
- All Implemented Interfaces:
- java.io.Serializable
public class StumpsSet
- extends java.lang.Object
- implements java.io.Serializable
Class Stump
- Version:
- 1.0
- Author:
- Fabien Torre
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StumpsSet
public StumpsSet(ProblemDescription pb,
ExamplesSet learningExamples,
java.lang.Boolean onTheFly)
computeAllStumps
public Stump computeAllStumps()
addStump
public Stump addStump(Stump s)
getProblemDescription
public ProblemDescription getProblemDescription()
getStumpsIterator
public java.util.Iterator getStumpsIterator()
setZeroWeights
public void setZeroWeights()
getSize
public int getSize()
getRandomWeakStump
public Stump getRandomWeakStump()
getBestStump
public Stump getBestStump(int insistence)
cleanStumpsSet
public void cleanStumpsSet()
classifyExample
public Prediction classifyExample(Example ex)
classifyExamples
public void classifyExamples(ExamplesSet examples,
java.lang.Boolean verbose,
java.lang.Boolean predictions,
java.lang.Boolean matrix)
toString
public java.lang.String toString()
- Transforms the stumps set to String.
- Overrides:
toString
in class java.lang.Object