|
||||||||||
| 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.ClassificationByRegression
public class ClassificationByRegression
For a classified dataset (with possibly more than two classes) builds a classifier using a regression method which is specified by the inner operator. For each class i a regression model is trained after setting the label to +1 if the label equals i and to -1 if it is not. Then the regression models are combined into a classification model. In order to determine the prediction for an unlabeled example, all models are applied and the class belonging to the regression model which predicts the greatest value is chosen.
| Constructor Summary | |
|---|---|
ClassificationByRegression(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
Model |
learn(ExampleSet inputSet)
Trains a model. |
boolean |
supportsCapability(LearnerCapability lc)
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 ClassificationByRegression(OperatorDescription description)
| Method Detail |
|---|
public boolean supportsCapability(LearnerCapability lc)
AbstractMetaLearner
supportsCapability in interface LearnersupportsCapability in class AbstractMetaLearner
public Model learn(ExampleSet inputSet)
throws OperatorException
Learner
OperatorException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||