com.rapidminer.operator.learner.tree
Class SingleLabelTermination

java.lang.Object
  extended by com.rapidminer.operator.learner.tree.SingleLabelTermination
All Implemented Interfaces:
Terminator

public class SingleLabelTermination
extends java.lang.Object
implements Terminator

This criterion terminates if only one single label is left.

Author:
Sebastian Land, Ingo Mierswa

Constructor Summary
SingleLabelTermination()
           
 
Method Summary
 boolean shouldStop(ExampleSet exampleSet, int depth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleLabelTermination

public SingleLabelTermination()
Method Detail

shouldStop

public boolean shouldStop(ExampleSet exampleSet,
                          int depth)
Specified by:
shouldStop in interface Terminator


Copyright © 2001-2009 by Rapid-I