com.rapidminer.operator.features.construction
Class CompleteFeatureGenerationOperator

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.AbstractExampleSetProcessing
          extended by com.rapidminer.operator.features.AbstractFeatureProcessing
              extended by com.rapidminer.operator.features.construction.AbstractFeatureConstruction
                  extended by com.rapidminer.operator.features.construction.CompleteFeatureGenerationOperator
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class CompleteFeatureGenerationOperator
extends AbstractFeatureConstruction

This operator applies a set of functions on all features of the input example set. Applicable functions include +, -, *, /, norm, sin, cos, tan, atan, exp, log, min, max, floor, ceil, round, sqrt, abs, and pow. Features with two arguments will be applied on all pairs. Non commutative functions will also be applied on all permutations.

Author:
Ingo Mierswa 08:57:27 ingomierswa Exp $
See Also:
FeatureGenerator

Field Summary
static java.lang.String PARAMETER_KEEP_ALL
          The parameter name for "If set to true, all the original attributes are kept, otherwise they are removed from the example set.
static java.lang.String PARAMETER_USE_ABSOLUTE_VALUES
          The parameter name for "Generate absolute values.
static java.lang.String PARAMETER_USE_ATAN
          The parameter name for "Generate arc tangens.
static java.lang.String PARAMETER_USE_CEIL
          The parameter name for "Generate ceil values.
static java.lang.String PARAMETER_USE_COS
          The parameter name for "Generate cosinus.
static java.lang.String PARAMETER_USE_DIFF
          The parameter name for "Generate differences.
static java.lang.String PARAMETER_USE_DIV
          The parameter name for "Generate quotients.
static java.lang.String PARAMETER_USE_EXP
          The parameter name for "Generate exponential functions.
static java.lang.String PARAMETER_USE_FLOOR
          The parameter name for "Generate floor values.
static java.lang.String PARAMETER_USE_LOG
          The parameter name for "Generate logarithmic functions.
static java.lang.String PARAMETER_USE_MAX
          The parameter name for "Generate maximum values.
static java.lang.String PARAMETER_USE_MIN
          The parameter name for "Generate minimum values.
static java.lang.String PARAMETER_USE_MULT
          The parameter name for "Generate products.
static java.lang.String PARAMETER_USE_PLUS
          The parameter name for "Generate sums.
static java.lang.String PARAMETER_USE_POWER_FUNCTIONS
          The parameter name for "Generate the power of one attribute and another.
static java.lang.String PARAMETER_USE_RECIPROCALS
          The parameter name for "Generate reciprocal values.
static java.lang.String PARAMETER_USE_ROUNDED
          The parameter name for "Generate rounded values.
static java.lang.String PARAMETER_USE_SIN
          The parameter name for "Generate sinus.
static java.lang.String PARAMETER_USE_SQUARE_ROOTS
          The parameter name for "Generate square root values.
static java.lang.String PARAMETER_USE_TAN
          The parameter name for "Generate tangens.
 
Constructor Summary
CompleteFeatureGenerationOperator(OperatorDescription description)
           
 
Method Summary
 ExampleSet apply(ExampleSet exampleSet)
          Delegate for the apply method.
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing
apply, getInputClasses, getOutputClasses
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getInputDescription, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAMETER_KEEP_ALL

public static final java.lang.String PARAMETER_KEEP_ALL
The parameter name for "If set to true, all the original attributes are kept, otherwise they are removed from the example set."

See Also:
Constant Field Values

PARAMETER_USE_PLUS

public static final java.lang.String PARAMETER_USE_PLUS
The parameter name for "Generate sums."

See Also:
Constant Field Values

PARAMETER_USE_DIFF

public static final java.lang.String PARAMETER_USE_DIFF
The parameter name for "Generate differences."

See Also:
Constant Field Values

PARAMETER_USE_MULT

public static final java.lang.String PARAMETER_USE_MULT
The parameter name for "Generate products."

See Also:
Constant Field Values

PARAMETER_USE_DIV

public static final java.lang.String PARAMETER_USE_DIV
The parameter name for "Generate quotients."

See Also:
Constant Field Values

PARAMETER_USE_RECIPROCALS

public static final java.lang.String PARAMETER_USE_RECIPROCALS
The parameter name for "Generate reciprocal values."

See Also:
Constant Field Values

PARAMETER_USE_SQUARE_ROOTS

public static final java.lang.String PARAMETER_USE_SQUARE_ROOTS
The parameter name for "Generate square root values."

See Also:
Constant Field Values

PARAMETER_USE_POWER_FUNCTIONS

public static final java.lang.String PARAMETER_USE_POWER_FUNCTIONS
The parameter name for "Generate the power of one attribute and another."

See Also:
Constant Field Values

PARAMETER_USE_SIN

public static final java.lang.String PARAMETER_USE_SIN
The parameter name for "Generate sinus."

See Also:
Constant Field Values

PARAMETER_USE_COS

public static final java.lang.String PARAMETER_USE_COS
The parameter name for "Generate cosinus."

See Also:
Constant Field Values

PARAMETER_USE_TAN

public static final java.lang.String PARAMETER_USE_TAN
The parameter name for "Generate tangens."

See Also:
Constant Field Values

PARAMETER_USE_ATAN

public static final java.lang.String PARAMETER_USE_ATAN
The parameter name for "Generate arc tangens."

See Also:
Constant Field Values

PARAMETER_USE_EXP

public static final java.lang.String PARAMETER_USE_EXP
The parameter name for "Generate exponential functions."

See Also:
Constant Field Values

PARAMETER_USE_LOG

public static final java.lang.String PARAMETER_USE_LOG
The parameter name for "Generate logarithmic functions."

See Also:
Constant Field Values

PARAMETER_USE_ABSOLUTE_VALUES

public static final java.lang.String PARAMETER_USE_ABSOLUTE_VALUES
The parameter name for "Generate absolute values."

See Also:
Constant Field Values

PARAMETER_USE_MIN

public static final java.lang.String PARAMETER_USE_MIN
The parameter name for "Generate minimum values."

See Also:
Constant Field Values

PARAMETER_USE_MAX

public static final java.lang.String PARAMETER_USE_MAX
The parameter name for "Generate maximum values."

See Also:
Constant Field Values

PARAMETER_USE_CEIL

public static final java.lang.String PARAMETER_USE_CEIL
The parameter name for "Generate ceil values."

See Also:
Constant Field Values

PARAMETER_USE_FLOOR

public static final java.lang.String PARAMETER_USE_FLOOR
The parameter name for "Generate floor values."

See Also:
Constant Field Values

PARAMETER_USE_ROUNDED

public static final java.lang.String PARAMETER_USE_ROUNDED
The parameter name for "Generate rounded values."

See Also:
Constant Field Values
Constructor Detail

CompleteFeatureGenerationOperator

public CompleteFeatureGenerationOperator(OperatorDescription description)
Method Detail

apply

public ExampleSet apply(ExampleSet exampleSet)
                 throws OperatorException
Description copied from class: AbstractExampleSetProcessing
Delegate for the apply method. In most cases, the returned example set will be the same as the example set or a modified clone.

Specified by:
apply in class AbstractExampleSetProcessing
Throws:
OperatorException

getParameterTypes

public java.util.List<ParameterType> getParameterTypes()
Description copied from class: Operator
Returns a list of ParameterTypes describing the parameters of this operator. The default implementation returns an empty list if no input objects can be retained and special parameters for those input objects which can be prevented from being consumed.

Specified by:
getParameterTypes in interface ParameterHandler
Overrides:
getParameterTypes in class Operator


Copyright © 2001-2009 by Rapid-I