|
||||||||||
| 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.OperatorChain
com.rapidminer.operator.meta.AbstractSplitChain
public abstract class AbstractSplitChain
An operator chain that split an ExampleSet into two disjunct parts
and applies the first child operator on the first part and applies the second
child on the second part and the result of the first child. The total result
is the result of the second operator.
Subclasses must define how the example set is divided.
| Constructor Summary | |
|---|---|
AbstractSplitChain(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Applies all inner operators. |
protected abstract SplittedExampleSet |
createSplittedExampleSet(ExampleSet exampleSet)
Creates the splitted example for this operator. |
InnerOperatorCondition |
getInnerOperatorCondition()
Must return a condition of the IO behaviour of all desired inner operators. |
java.lang.Class<?>[] |
getInputClasses()
Returns the the classes this operator expects as input. |
InputDescription |
getInputDescription(java.lang.Class cls)
The default implementation returns an input description that consumes the input IOObject without a user parameter. |
int |
getMaxNumberOfInnerOperators()
Returns the maximum number of inner operators. |
int |
getMinNumberOfInnerOperators()
Returns the minimum number of inner operators. |
java.lang.Class<?>[] |
getOutputClasses()
Returns the the classes this operator provides as output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSplitChain(OperatorDescription description)
| Method Detail |
|---|
protected abstract SplittedExampleSet createSplittedExampleSet(ExampleSet exampleSet)
throws OperatorException
OperatorException
public IOObject[] apply()
throws OperatorException
OperatorChain
apply in class OperatorChainOperatorExceptionpublic InnerOperatorCondition getInnerOperatorCondition()
OperatorChainSimpleChainInnerOperatorCondition. More than one
condition should be combined with help of the class
CombinedInnerOperatorCondition.
getInnerOperatorCondition in class OperatorChainpublic InputDescription getInputDescription(java.lang.Class cls)
Operator
getInputDescription in class Operatorpublic int getMaxNumberOfInnerOperators()
getMaxNumberOfInnerOperators in class OperatorChainpublic int getMinNumberOfInnerOperators()
getMinNumberOfInnerOperators in class OperatorChainpublic java.lang.Class<?>[] getInputClasses()
getInputClasses in class Operatorpublic java.lang.Class<?>[] getOutputClasses()
getOutputClasses in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||