|
||||||||||
| 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
public abstract class AbstractStacking
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.
| Constructor Summary | |
|---|---|
AbstractStacking(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
abstract int |
getFirstBaseModelLearnerIndex()
Returns the first inner operator which should be learned for base model learning. |
abstract int |
getLastBaseModelLearnerIndex()
Returns the last inner operator which should be learned for base model learning. |
abstract java.lang.String |
getModelName()
Returns the model name. |
abstract Operator |
getStackingLearner()
Returns the learner which should be used for stacking. |
abstract boolean |
keepOldAttributes()
Indicates if the old attributes should be kept for learning the stacking model. |
Model |
learn(ExampleSet exampleSet)
Trains a model. |
boolean |
supportsCapability(LearnerCapability capability)
For all meta learners, it checks for the underlying operator to see which capabilities are supported by them. |
| Methods inherited from class com.rapidminer.operator.learner.meta.AbstractMetaLearner |
|---|
apply, applyInnerLearner, getEstimatedPerformance, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, 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 |
| Constructor Detail |
|---|
public AbstractStacking(OperatorDescription description)
| Method Detail |
|---|
public abstract java.lang.String getModelName()
public abstract Operator getStackingLearner()
throws OperatorException
OperatorExceptionpublic abstract int getFirstBaseModelLearnerIndex()
public abstract int getLastBaseModelLearnerIndex()
public abstract boolean keepOldAttributes()
public Model learn(ExampleSet exampleSet)
throws OperatorException
Learner
OperatorExceptionpublic boolean supportsCapability(LearnerCapability capability)
AbstractMetaLearner
supportsCapability in interface LearnersupportsCapability in class AbstractMetaLearner
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||