|
||||||||||
| 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.GlobalAndLocalPatternsFunction
public class GlobalAndLocalPatternsFunction
The label is positive if the sum of both arguments is positive and negative otherwise. In addition, several local patterns in different sizes are placed in the data space.
| 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 | |
|---|---|
GlobalAndLocalPatternsFunction()
|
|
| Method Summary | |
|---|---|
double |
calculate(double[] att)
Calculates the target function on arguments. |
void |
init(RandomGenerator random)
Does nothing. |
| Methods inherited from class com.rapidminer.operator.generator.ClassificationFunction |
|---|
createArguments, getLabel, 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 GlobalAndLocalPatternsFunction()
| Method Detail |
|---|
public void init(RandomGenerator random)
ClassificationFunction
init in interface TargetFunctioninit in class ClassificationFunction
public double calculate(double[] att)
throws TargetFunction.FunctionException
TargetFunction
TargetFunction.FunctionException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||