|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.generator.ClassificationFunction
edu.udo.cs.yale.operator.generator.SimpleNonLinearClassificationFunction
public class SimpleNonLinearClassificationFunction
The label is positive if att1*att2 > 50 and att1 * att2 < 80.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.udo.cs.yale.operator.generator.TargetFunction |
|---|
TargetFunction.FunctionException |
| Field Summary |
|---|
| Fields inherited from class edu.udo.cs.yale.operator.generator.ClassificationFunction |
|---|
label, lower, upper |
| Constructor Summary | |
|---|---|
SimpleNonLinearClassificationFunction()
|
|
| Method Summary | |
|---|---|
double |
calculate(double[] att)
Calculates the target function on arguments. |
| Methods inherited from class edu.udo.cs.yale.operator.generator.ClassificationFunction |
|---|
createArguments, getLabel, 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 SimpleNonLinearClassificationFunction()
| Method Detail |
|---|
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 | ||||||||