com.rapidminer.operator.learner.rules
Class AbstractCriterion
java.lang.Object
com.rapidminer.operator.learner.rules.AbstractCriterion
- All Implemented Interfaces:
- Criterion
- Direct Known Subclasses:
- AccuracyCriterion, InfoGainCriterion
public abstract class AbstractCriterion
- extends java.lang.Object
- implements Criterion
This criterion class can be used to incrementally calculate a benefit.
- Author:
- Sebastian Land
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
labelWeights
protected double[] labelWeights
weight
protected double weight
totalLabelWeights
protected double[] totalLabelWeights
totalWeight
protected double totalWeight
labelAttribute
protected Attribute labelAttribute
weightAttribute
protected Attribute weightAttribute
AbstractCriterion
public AbstractCriterion()
update
public void update(Example example)
- Specified by:
update in interface Criterion
getOnlineBenefit
public double[] getOnlineBenefit(Example example)
- Specified by:
getOnlineBenefit in interface Criterion
reinitOnlineCounting
public void reinitOnlineCounting(ExampleSet exampleSet)
- Specified by:
reinitOnlineCounting in interface Criterion
Copyright © 2001-2009 by Rapid-I