|
||||||||||
| 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.AbstractMetaLearner
com.rapidminer.operator.learner.meta.AbstractStacking
com.rapidminer.operator.learner.meta.Stacking
public class Stacking
This class uses n+1 inner learners and generates n different models by using the last n learners. The predictions of these n models are taken to create n new features for the example set, which is finally used to serve as an input of the first inner learner.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_KEEP_ALL_ATTRIBUTES
|
| Constructor Summary | |
|---|---|
Stacking(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
int |
getFirstBaseModelLearnerIndex()
Returns the first inner operator which should be learned for base model learning. |
int |
getLastBaseModelLearnerIndex()
Returns the last inner operator which should be learned for base model learning. |
int |
getMinNumberOfInnerOperators()
Returns the minimum number of inner operators. |
java.lang.String |
getModelName()
Returns the model name. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
Operator |
getStackingLearner()
Returns the learner which should be used for stacking. |
boolean |
keepOldAttributes()
Indicates if the old attributes should be kept for learning the stacking model. |
| Methods inherited from class com.rapidminer.operator.learner.meta.AbstractStacking |
|---|
learn, supportsCapability |
| Methods inherited from class com.rapidminer.operator.learner.meta.AbstractMetaLearner |
|---|
apply, applyInnerLearner, getEstimatedPerformance, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getOutputClasses, getWeights, shouldCalculateWeights, shouldEstimatePerformance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_KEEP_ALL_ATTRIBUTES
| Constructor Detail |
|---|
public Stacking(OperatorDescription description)
| Method Detail |
|---|
public java.lang.String getModelName()
AbstractStacking
getModelName in class AbstractStackingpublic int getFirstBaseModelLearnerIndex()
AbstractStacking
getFirstBaseModelLearnerIndex in class AbstractStackingpublic int getLastBaseModelLearnerIndex()
AbstractStacking
getLastBaseModelLearnerIndex in class AbstractStackingpublic Operator getStackingLearner()
AbstractStacking
getStackingLearner in class AbstractStackingpublic boolean keepOldAttributes()
AbstractStacking
keepOldAttributes in class AbstractStackingpublic int getMinNumberOfInnerOperators()
OperatorChain
getMinNumberOfInnerOperators in class AbstractMetaLearnerpublic 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 | |||||||||