|
||||||||||
| 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.preprocessing.AbstractDataProcessing
com.rapidminer.operator.preprocessing.filter.ChangeAttributeType
public class ChangeAttributeType
This operator can be used to change the attribute type of an attribute of the input example set.
If you want to change the attribute name you should use the ChangeAttributeName operator.
The target type indicates if the attribute is a regular attribute (used by learning operators) or a special attribute (e.g. a label or id attribute). The following target attribute types are possible:
Users can also define own attribute types by simply using the desired name.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_NAME
The parameter name for "The name of the attribute of which the type should be changed. |
static java.lang.String |
PARAMETER_TARGET_TYPE
The parameter name for "The target type of the attribute (only changed if parameter change_attribute_type is true). |
| Constructor Summary | |
|---|---|
ChangeAttributeType(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_NAME
public static final java.lang.String PARAMETER_TARGET_TYPE
| Constructor Detail |
|---|
public ChangeAttributeType(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 | |||||||||