com.rapidminer.operator.generator
Class CheckerboardClassificationFunction

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

public class CheckerboardClassificationFunction
extends ClassificationFunction

Returns a checkerboard classification function. Each tile has size 5. Attribute values should be positive.

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
CheckerboardClassificationFunction()
           
 
Method Summary
 double calculate(double[] att)
          Calculates the target function on arguments.
 
Methods inherited from class com.rapidminer.operator.generator.ClassificationFunction
createArguments, getGeneratedMetaData, getLabel, getTotalNumberOfAttributes, getTotalNumberOfExamples, 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

CheckerboardClassificationFunction

public CheckerboardClassificationFunction()
Method Detail

calculate

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

Throws:
TargetFunction.FunctionException


Copyright © 2001-2009 by Rapid-I