|
||||||||||
| 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.AdditiveRegression
public class AdditiveRegression
This operator uses regression learner as a base learner. The learner starts with a default model (mean or mode) as a first prediction model. In each iteration it learns a new base model and applies it to the example set. Then, the residuals of the labels are calculated and the next base model is learned. The learned meta model predicts the label by adding all base model predictions.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_ITERATIONS
The parameter name for "The number of iterations. |
static java.lang.String |
PARAMETER_SHRINKAGE
The parameter name for "Reducing this learning rate prevent overfitting but increases the learning time. |
| Constructor Summary | |
|---|---|
AdditiveRegression(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
int |
getMaxNumberOfInnerOperators()
Returns the maximum number of inner operators. |
int |
getMinNumberOfInnerOperators()
Returns the minimum number of inner operators. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
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, 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_ITERATIONS
public static final java.lang.String PARAMETER_SHRINKAGE
| Constructor Detail |
|---|
public AdditiveRegression(OperatorDescription description)
| Method Detail |
|---|
public Model learn(ExampleSet exampleSet)
throws OperatorException
Learner
OperatorExceptionpublic int getMinNumberOfInnerOperators()
OperatorChain
getMinNumberOfInnerOperators in class AbstractMetaLearnerpublic int getMaxNumberOfInnerOperators()
OperatorChain
getMaxNumberOfInnerOperators in class AbstractMetaLearnerpublic boolean supportsCapability(LearnerCapability capability)
AbstractMetaLearner
supportsCapability in interface LearnersupportsCapability 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 | |||||||||