com.rapidminer.operator.generator
Class RegressionFunction

java.lang.Object
  extended by com.rapidminer.operator.generator.RegressionFunction
All Implemented Interfaces:
TargetFunction
Direct Known Subclasses:
ComplicatedFunction, ComplicatedFunction2, NonLinearFunction, OneVariableNonLinearFunction, PolynomialFunction, RandomFunction, SimpleSinusFunction, SimpleSuperpositionFunction, SincFunction, SinusFrequencyFunction, SinusFunction, SinusWithTrendFunction, SquarePulseFunction, SumFunction, TriangularFunction

public abstract class RegressionFunction
extends java.lang.Object
implements TargetFunction

A target function for regression labels, i.e. continous numercial labels.

Author:
Ingo Mierswa

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.rapidminer.operator.generator.TargetFunction
TargetFunction.FunctionException
 
Constructor Summary
RegressionFunction()
           
 
Method Summary
 double[] createArguments(int dimension, RandomGenerator random)
          Creates and returns a number of arguments.
 Attribute getLabel()
          Returns the label attribute.
 void init(RandomGenerator random)
          Does nothing.
 void setLowerArgumentBound(double lower)
          Sets the lower bound for the arguments.
 void setTotalNumberOfAttributes(int number)
          Does nothing.
 void setTotalNumberOfExamples(int number)
          Does nothing.
 void setUpperArgumentBound(double upper)
          Sets the upper bound for the arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.generator.TargetFunction
calculate
 

Constructor Detail

RegressionFunction

public RegressionFunction()
Method Detail

init

public void init(RandomGenerator random)
Does nothing.

Specified by:
init in interface TargetFunction

setLowerArgumentBound

public void setLowerArgumentBound(double lower)
Description copied from interface: TargetFunction
Sets the lower bound for the arguments.

Specified by:
setLowerArgumentBound in interface TargetFunction

setUpperArgumentBound

public void setUpperArgumentBound(double upper)
Description copied from interface: TargetFunction
Sets the upper bound for the arguments.

Specified by:
setUpperArgumentBound in interface TargetFunction

setTotalNumberOfExamples

public void setTotalNumberOfExamples(int number)
Does nothing.

Specified by:
setTotalNumberOfExamples in interface TargetFunction

setTotalNumberOfAttributes

public void setTotalNumberOfAttributes(int number)
Does nothing.

Specified by:
setTotalNumberOfAttributes in interface TargetFunction

getLabel

public Attribute getLabel()
Description copied from interface: TargetFunction
Returns the label attribute.

Specified by:
getLabel in interface TargetFunction

createArguments

public double[] createArguments(int dimension,
                                RandomGenerator random)
Description copied from interface: TargetFunction
Creates and returns a number of arguments.

Specified by:
createArguments in interface TargetFunction


Copyright © 2001-2009 by Rapid-I