|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.generator.ClassificationFunction
com.rapidminer.operator.generator.MultiClassificationFunction
public class MultiClassificationFunction
The label is the first class, if the sum of all arguments modulo 2 is 0, it is the second class if the sum modulo 3 is 0 and the third class if the sum modulo 5 is 0. In all other cases the label is the fourth class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.rapidminer.operator.generator.TargetFunction |
|---|
TargetFunction.FunctionException |
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.operator.generator.ClassificationFunction |
|---|
lower, upper |
| Constructor Summary | |
|---|---|
MultiClassificationFunction()
|
|
| Method Summary | |
|---|---|
double |
calculate(double[] args)
Calculates the target function on arguments. |
Attribute |
getLabel()
Returns the label attribute. |
| Methods inherited from class com.rapidminer.operator.generator.ClassificationFunction |
|---|
createArguments, init, setLowerArgumentBound, setTotalNumberOfAttributes, setTotalNumberOfExamples, setUpperArgumentBound |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiClassificationFunction()
| Method Detail |
|---|
public Attribute getLabel()
TargetFunction
getLabel in interface TargetFunctiongetLabel in class ClassificationFunction
public double calculate(double[] args)
throws TargetFunction.FunctionException
TargetFunction
TargetFunction.FunctionException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||