com.rapidminer.operator.generator
Class RandomFunction

java.lang.Object
  extended by com.rapidminer.operator.generator.RegressionFunction
      extended by com.rapidminer.operator.generator.RandomFunction
All Implemented Interfaces:
TargetFunction

public class RandomFunction
extends RegressionFunction

The label is randomly generated.

Author:
Ingo Mierswa

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

Constructor Detail

RandomFunction

public RandomFunction()
Method Detail

init

public void init(RandomGenerator random)
Description copied from class: RegressionFunction
Does nothing.

Specified by:
init in interface TargetFunction
Overrides:
init in class RegressionFunction

calculate

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



Copyright © 2001-2009 by Rapid-I