|
||||||||||
| 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.validation.ValidationChain
com.rapidminer.operator.validation.BatchSlidingWindowValidation
public class BatchSlidingWindowValidation
The BatchSlidingWindowValidation is similar to the usual
SlidingWindowValidation. This operator, however, does not
split the data itself in windows of predefined widths but uses the partition
defined by the special attribute "batch". This can be an arbitrary
nominal or integer attribute where each possible value occurs at least once
(since many learning schemes depend on this minimum number of examples).
In each iteration, the next training batch is used for learning and the batch
after this for prediction. It is also possible to perform a cumulative batch
creation where each test batch will simply be added to the current training
batch for the training in the next generation.
The first inner operator must accept an
ExampleSet while the second must accept an
ExampleSet and the output of the first (which
is in most cases a Model) and must produce
a PerformanceVector.
This validation operator provides several values which can be logged
by means of a ProcessLogOperator. All performance estimation operators
of RapidMiner provide access to the average values calculated during the estimation.
Since the operator cannot ensure the names of the delivered criteria, the
ProcessLog operator can access the values via the generic value names:
In addition to these values, which should be logged after the validation was performed, one can also access the current iteration numbers as a value loggable inside.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_AVERAGE_PERFORMANCES_ONLY
The parameter name for "Indicates if only performance vectors should be averaged or all types of averagable result vectors" |
static java.lang.String |
PARAMETER_CUMULATIVE_TRAINING
The parameter name for "Indicates if each training batch should be added to the old one or should replace the old one. |
| Fields inherited from class com.rapidminer.operator.validation.ValidationChain |
|---|
PARAMETER_CREATE_COMPLETE_MODEL |
| Constructor Summary | |
|---|---|
BatchSlidingWindowValidation(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
estimatePerformance(ExampleSet inputSet)
This is the main method of the validation chain and must be implemented to estimate a performance of inner operators on the given example set. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.validation.ValidationChain |
|---|
apply, evaluate, evaluate, getInnerOperatorCondition, getInputClasses, getInputDescription, getLearner, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, learn, setResult |
| 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_CUMULATIVE_TRAINING
public static final java.lang.String PARAMETER_AVERAGE_PERFORMANCES_ONLY
| Constructor Detail |
|---|
public BatchSlidingWindowValidation(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] estimatePerformance(ExampleSet inputSet)
throws OperatorException
ValidationChain
estimatePerformance in class ValidationChainOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class ValidationChain
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||