|
||||||||||
| 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.ClusterIterator
public class ClusterIterator
This operator splits up the input example set according to the clusters and
applies its inner operators number_of_clusters time.
This requires the example set to have a special cluster attribute which
can be either created by a Clusterer or might be declared in the
attribute description file that was used when the data was loaded.
| Constructor Summary | |
|---|---|
ClusterIterator(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Applies all inner operators. |
InnerOperatorCondition |
getInnerOperatorCondition()
Returns a simple chain condition. |
java.lang.Class<?>[] |
getInputClasses()
the clustered example set |
int |
getMaxNumberOfInnerOperators()
Returns the highest possible value for the maximum number of innner operators. |
int |
getMinNumberOfInnerOperators()
Returns 0 for the minimum number of innner operators. |
java.lang.Class<?>[] |
getOutputClasses()
no output |
boolean |
shouldReturnInnerOutput()
Returns true since this operator chain should just return the output of the last inner operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClusterIterator(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] apply()
throws OperatorException
OperatorChain
apply in class OperatorChainOperatorExceptionpublic java.lang.Class<?>[] getInputClasses()
getInputClasses in class Operatorpublic java.lang.Class<?>[] getOutputClasses()
getOutputClasses in class Operatorpublic boolean shouldReturnInnerOutput()
shouldReturnInnerOutput in class OperatorChainpublic InnerOperatorCondition getInnerOperatorCondition()
getInnerOperatorCondition in class OperatorChainpublic int getMinNumberOfInnerOperators()
getMinNumberOfInnerOperators in class OperatorChainpublic int getMaxNumberOfInnerOperators()
getMaxNumberOfInnerOperators in class OperatorChain
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||