com.rapidminer.operator.generator
Class RandomDotsClassificationFunction

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

public class RandomDotsClassificationFunction
extends ClassificationFunction

Returns a classification function with one major class and a set of dots of the second class.

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
RandomDotsClassificationFunction()
           
 
Method Summary
 double calculate(double[] att)
          Calculates the target function on arguments.
 void init(RandomGenerator random)
          Does nothing.
 
Methods inherited from class com.rapidminer.operator.generator.ClassificationFunction
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

RandomDotsClassificationFunction

public RandomDotsClassificationFunction()
Method Detail

init

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

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

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