com.rapidminer.operator.generator
Class OneThirdClassification

java.lang.Object
  extended by com.rapidminer.operator.generator.ClassificationFunction
      extended by com.rapidminer.operator.generator.OneThirdClassification
All Implemented Interfaces:
TargetFunction

public class OneThirdClassification
extends ClassificationFunction

The label is positive if att1 < 0.3333 and negative else.

Author:
Ingo Mierswa

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.rapidminer.operator.generator.TargetFunction
TargetFunction.FunctionException
 
Field Summary
 
Fields inherited from class com.rapidminer.operator.generator.ClassificationFunction
lower, upper
 
Constructor Summary
OneThirdClassification()
           
 
Method Summary
 double calculate(double[] args)
          Calculates the target function on arguments.
 
Methods inherited from class com.rapidminer.operator.generator.ClassificationFunction
createArguments, getLabel, init, setLowerArgumentBound, setTotalNumberOfAttributes, setTotalNumberOfExamples, setUpperArgumentBound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneThirdClassification

public OneThirdClassification()
Method Detail

calculate

public double calculate(double[] args)
Description copied from interface: TargetFunction
Calculates the target function on arguments.



Copyright © 2001-2009 by Rapid-I