|
||||||||||
| 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.learner.meta.SDRulesetInduction
public class SDRulesetInduction
Subgroup discovery learner.
| Field Summary | |
|---|---|
static double |
MIN_ADVANTAGE
Discard models with an advantage of less than the specified value. |
static java.lang.String |
PARAMETER_ADDITIVE_REWEIGHT
Boolean parameter: true for additive reweighting, false for multiplicative. |
static java.lang.String |
PARAMETER_GAMMA
Boolean parameter to specify whether the label priors should be equally likely after first iteration. |
static java.lang.String |
PARAMETER_ITERATIONS
Name of the variable specifying the maximal number of iterations of the learner. |
static java.lang.String |
PARAMETER_RATIO_INTERNAL_BOOTSTRAP
Name of the flag indicating internal bootstrapping. |
static java.lang.String |
PARAMETER_ROC_CONVEX_HULL_FILTER
A parameter whether to discard all rules not lying on the convex hull in ROC space. |
static java.lang.String |
TIMES_COVERED
Name of special attribute counting the times an example has been covered by a rule. |
| Constructor Summary | |
|---|---|
SDRulesetInduction(OperatorDescription description)
Constructor. |
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Constructs a Model repeatedly running a weak learner,
reweighting the training example set accordingly, and combining the
hypothesis using the available weighted performance values. |
InnerOperatorCondition |
getInnerOperatorCondition()
Must return a condition of the IO behaviour of all desired inner operators. |
java.lang.Class<?>[] |
getInputClasses()
Returns the classes that are needed as input. |
int |
getMaxNumberOfInnerOperators()
Returns the maximum number of inner operators. |
int |
getMinNumberOfInnerOperators()
Returns the minimum number of 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()
Adds the parameters "number of iterations" and "model file". |
static int |
getPosIndex(Attribute label)
|
| 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_ITERATIONS
public static final java.lang.String PARAMETER_RATIO_INTERNAL_BOOTSTRAP
public static final java.lang.String PARAMETER_ROC_CONVEX_HULL_FILTER
public static final java.lang.String PARAMETER_ADDITIVE_REWEIGHT
public static final java.lang.String PARAMETER_GAMMA
public static final java.lang.String TIMES_COVERED
public static final double MIN_ADVANTAGE
| Constructor Detail |
|---|
public SDRulesetInduction(OperatorDescription description)
| Method Detail |
|---|
public InnerOperatorCondition getInnerOperatorCondition()
OperatorChainSimpleChainInnerOperatorCondition. More than one
condition should be combined with help of the class
CombinedInnerOperatorCondition.
getInnerOperatorCondition in class OperatorChainpublic int getMaxNumberOfInnerOperators()
OperatorChain
getMaxNumberOfInnerOperators in class OperatorChainOperatorChain.getMaxNumberOfInnerOperators()public int getMinNumberOfInnerOperators()
OperatorChain
getMinNumberOfInnerOperators in class OperatorChainOperatorChain.getMinNumberOfInnerOperators()public java.lang.Class<?>[] getInputClasses()
OperatorOperator.getOutputClasses() and
Operator.apply() if this is necessary. This default behavior can be
changed by overriding Operator.getInputDescription(Class). Subclasses
which implement this method should not make use of parameters since this
method is invoked by getParameterTypes(). Therefore, parameters are not
fully available at this point of time and this might lead to exceptions.
Please use InputDescriptions instead.
getInputClasses in class OperatorOperator.getInputClasses()public 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 OperatorOperator.getOutputClasses()public static int getPosIndex(Attribute label)
public IOObject[] apply()
throws OperatorException
Model repeatedly running a weak learner,
reweighting the training example set accordingly, and combining the
hypothesis using the available weighted performance values. If the input
contains a model, then this model is used as a starting point for
weighting the examples.
apply in class OperatorChainOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||