|
||||||||||
| 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
com.rapidminer.operator.meta.RatioSplitChain
public class RatioSplitChain
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.
The input example set will be splitted based on a defined ratio between 0 and 1.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_LOCAL_RANDOM_SEED
The parameter name for "Use the given random seed instead of global random numbers (-1: use global). |
static java.lang.String |
PARAMETER_SAMPLING_TYPE
The parameter name for "Defines the sampling type of this operator. |
static java.lang.String |
PARAMETER_SPLIT_RATIO
The parameter name for "Relative size of the training set. |
| Constructor Summary | |
|---|---|
RatioSplitChain(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
protected SplittedExampleSet |
createSplittedExampleSet(ExampleSet inputSet)
Creates the splitted example for this operator. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.meta.AbstractSplitChain |
|---|
apply, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, 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_SPLIT_RATIO
public static final java.lang.String PARAMETER_SAMPLING_TYPE
public static final java.lang.String PARAMETER_LOCAL_RANDOM_SEED
| Constructor Detail |
|---|
public RatioSplitChain(OperatorDescription description)
| Method Detail |
|---|
protected SplittedExampleSet createSplittedExampleSet(ExampleSet inputSet)
throws OperatorException
AbstractSplitChain
createSplittedExampleSet in class AbstractSplitChainOperatorExceptionpublic 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 | |||||||||