com.rapidminer.operator.generator
Class SimplePolynomialClassificationFunction

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

public class SimplePolynomialClassificationFunction
extends ClassificationFunction

The label is positive if (att1*att1*att1*att1) > 100.

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
SimplePolynomialClassificationFunction()
           
 
Method Summary
 double calculate(double[] att)
          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

SimplePolynomialClassificationFunction

public SimplePolynomialClassificationFunction()
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