Class StumpsSet

java.lang.Object
  extended by 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

Constructor Summary
StumpsSet(ProblemDescription pb, ExamplesSet learningExamples, java.lang.Boolean onTheFly)
           
 
Method Summary
 Stump addStump(Stump s)
           
 Prediction classifyExample(Example ex)
           
 void classifyExamples(ExamplesSet examples, java.lang.Boolean verbose, java.lang.Boolean predictions, java.lang.Boolean matrix)
           
 void cleanStumpsSet()
           
 Stump computeAllStumps()
           
 Stump getBestStump(int insistence)
           
 ProblemDescription getProblemDescription()
           
 Stump getRandomWeakStump()
           
 int getSize()
           
 java.util.Iterator getStumpsIterator()
           
 void setZeroWeights()
           
 java.lang.String toString()
          Transforms the stumps set to String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StumpsSet

public StumpsSet(ProblemDescription pb,
                 ExamplesSet learningExamples,
                 java.lang.Boolean onTheFly)
Method Detail

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