|
||||||||||
| 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.WrapperValidationChain
com.rapidminer.operator.validation.WrapperXValidation
public class WrapperXValidation
This operator evaluates the performance of feature weighting and selection
algorithms. The first inner operator is the algorithm to be evaluated itself.
It must return an attribute weights vector which is applied on the test data.
This fold is used to create a new model using the second inner operator and
retrieve a performance vector using the third inner operator. This
performance vector serves as a performance indicator for the actual
algorithm. This implementation of a MethodValidationChain works similar to
the XValidation.
XValidation| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_LEAVE_ONE_OUT
The parameter name for "Set the number of validations to the number of examples. |
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_NUMBER_OF_VALIDATIONS
The parameter name for "Number of subsets for the crossvalidation" |
static java.lang.String |
PARAMETER_SAMPLING_TYPE
The parameter name for "Defines the sampling type of the cross validation (linear = consecutive subsets, shuffled = random subsets, stratified = random subsets with class distribution kept constant)" |
| Constructor Summary | |
|---|---|
WrapperXValidation(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Applies all inner operators. |
java.lang.Class<?>[] |
getOutputClasses()
Returns the classes that are guaranteed to be returned by apply() as additional output. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.validation.WrapperValidationChain |
|---|
getInnerOperatorCondition, getInputClasses, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators |
| 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_NUMBER_OF_VALIDATIONS
public static final java.lang.String PARAMETER_LEAVE_ONE_OUT
public static final java.lang.String PARAMETER_SAMPLING_TYPE
public static final java.lang.String PARAMETER_LOCAL_RANDOM_SEED
| Constructor Detail |
|---|
public WrapperXValidation(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] apply()
throws OperatorException
OperatorChain
apply in class OperatorChainOperatorExceptionpublic java.lang.Class<?>[] getOutputClasses()
OperatorReturns the classes that are guaranteed to be returned by
apply() as additional output. Please note that input objects
which should not be consumed must also be defined by this method (e.g.
an example set which is changed but not consumed in the case of a preprocessing
operator must be defined in both, the methods Operator.getInputClasses() and
Operator.getOutputClasses()). The default behavior for input consumation
is defined by Operator.getInputDescription(Class) and can be changed by
overwriting this method. Objects which are not consumed (defined by changing
the implementation in Operator.getInputDescription(Class)) must not be
defined as additional output in this method.
May deliver null or an empy array (no additional output is produced or guaranteed). Must return the class array of delivered output objects otherwise.
getOutputClasses in class WrapperValidationChainpublic 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 | |||||||||