com.rapidminer.operator.learner.meta
Class BayBoostStream.BatchFilterCondition

java.lang.Object
  extended by com.rapidminer.operator.learner.meta.BayBoostStream.BatchFilterCondition
All Implemented Interfaces:
Condition, java.io.Serializable
Enclosing class:
BayBoostStream

public static class BayBoostStream.BatchFilterCondition
extends java.lang.Object
implements Condition

Class that filters an ExampleSet by the value of a special attribute. The constructor is provided with the attribute and the selected value. Neither this value nor the values of the attribute in the data are supposed to change. Please note, that the batch number is compared with greater or equal, which is comfortable for the case of merging a sequence of batches.

See Also:
Serialized Form

Constructor Summary
BayBoostStream.BatchFilterCondition(Attribute attribute, int batchNumber)
           
 
Method Summary
 boolean conditionOk(Example example)
          Should return true if the given example does fulfill this condition.
 Condition duplicate()
          Returns a duplicate of this condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayBoostStream.BatchFilterCondition

public BayBoostStream.BatchFilterCondition(Attribute attribute,
                                           int batchNumber)
Method Detail

conditionOk

public boolean conditionOk(Example example)
Description copied from interface: Condition
Should return true if the given example does fulfill this condition.

Specified by:
conditionOk in interface Condition

duplicate

public Condition duplicate()
Description copied from interface: Condition
Returns a duplicate of this condition. Subclasses which cannot dynamically changed can also return the same object.

Specified by:
duplicate in interface Condition


Copyright © 2001-2009 by Rapid-I