|
||||||||||
| 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.NumericToNominal
public abstract class NumericToNominal
Converts all numerical attributes to nominal ones.
| Constructor Summary | |
|---|---|
NumericToNominal(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
apply(ExampleSet exampleSet)
Delegate for the apply method. |
void |
cleanUp()
Will be invoked after the setValue method was invoked for each example. |
protected abstract int |
getGeneratedAttributevalueType()
Returns Ontology.NOMINAL or one of its subtypes. |
void |
init()
Will be invoked before the setValue method is invoked for each example. |
protected Attribute |
makeAttribute()
|
protected abstract void |
setValue(Example example,
Attribute newAttribute,
double value)
|
| 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 |
| Constructor Detail |
|---|
public NumericToNominal(OperatorDescription description)
| Method Detail |
|---|
protected abstract void setValue(Example example,
Attribute newAttribute,
double value)
throws OperatorException
OperatorExceptionprotected abstract int getGeneratedAttributevalueType()
Ontology.NOMINAL or one of its subtypes.
protected Attribute makeAttribute()
public void init()
throws OperatorException
OperatorException
public void cleanUp()
throws OperatorException
OperatorException
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
AbstractExampleSetProcessing
apply in class AbstractExampleSetProcessingOperatorException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||