|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.features.AbstractFeatureProcessing
com.rapidminer.operator.features.construction.AbstractFeatureConstruction
com.rapidminer.operator.features.construction.FeatureGenerationOperator
public class FeatureGenerationOperator
This operator generates new user specified features. The new features are
specified by their function names (prefix notation) and their arguments using
the names of existing features.
Legal function names include +, -, etc. and
the functions
norm, sin, cos, tan, atan, exp, log, min, max, floor, ceil, round, sqrt, abs,
and pow. Constant values can be defined by "const[value]()" where
value is the desired value. Do not forget the empty round brackets. Example:
+(a1, -(a2, a3)) will calculate the sum of the attribute
a1 and the difference of the attributes a2 and
a3.
Features are generated in the following order:
The list of supported functions include +, -, etc. and the functions sin, cos, tan, atan, exp, log, min, max, floor, ceil, round, sqrt, abs, sgn, pow.
FeatureGenerator| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_FILENAME
The parameter name for "Create the attributes listed in this file (written by an AttributeConstructionsWriter). |
static java.lang.String |
PARAMETER_FUNCTIONS
The parameter name for "List of functions to generate. |
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. |
| Constructor Summary | |
|---|---|
FeatureGenerationOperator(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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_FILENAME
public static final java.lang.String PARAMETER_FUNCTIONS
public static final java.lang.String PARAMETER_KEEP_ALL
| Constructor Detail |
|---|
public FeatureGenerationOperator(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
AbstractExampleSetProcessing
apply in class AbstractExampleSetProcessingOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||