com.rapidminer.operator.generator
Class SinusClassificationFunction

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

public class SinusClassificationFunction
extends ClassificationFunction

The label is positive if (sin(att1*att2) + sin(att1+att2)) > 0.

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
SinusClassificationFunction()
           
 
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

SinusClassificationFunction

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