|
|||||||||
| 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
public abstract class ClassificationFunction
A target function for classification labels, i.e. non-continous nominal labels.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.udo.cs.yale.operator.generator.TargetFunction |
|---|
TargetFunction.FunctionException |
| Field Summary | |
|---|---|
(package private) Attribute |
label
|
protected double |
lower
|
protected double |
upper
|
| Constructor Summary | |
|---|---|
ClassificationFunction()
|
|
| Method Summary | |
|---|---|
double[] |
createArguments(int dimension,
RandomGenerator random)
Creates and returns a number of arguments. |
Attribute |
getLabel()
Returns the label attribute. |
void |
init(RandomGenerator random)
Does nothing. |
void |
setLowerArgumentBound(double lower)
Sets the lower bound for the arguments. |
void |
setTotalNumberOfAttributes(int number)
Does nothing. |
void |
setTotalNumberOfExamples(int number)
Does nothing. |
void |
setUpperArgumentBound(double upper)
Sets the upper bound for the arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.generator.TargetFunction |
|---|
calculate |
| Field Detail |
|---|
protected double lower
protected double upper
Attribute label
| Constructor Detail |
|---|
public ClassificationFunction()
| Method Detail |
|---|
public void init(RandomGenerator random)
init in interface TargetFunctionpublic void setTotalNumberOfExamples(int number)
setTotalNumberOfExamples in interface TargetFunctionpublic void setTotalNumberOfAttributes(int number)
setTotalNumberOfAttributes in interface TargetFunctionpublic void setLowerArgumentBound(double lower)
TargetFunction
setLowerArgumentBound in interface TargetFunctionpublic void setUpperArgumentBound(double upper)
TargetFunction
setUpperArgumentBound in interface TargetFunctionpublic Attribute getLabel()
TargetFunction
getLabel in interface TargetFunction
public double[] createArguments(int dimension,
RandomGenerator random)
TargetFunction
createArguments in interface TargetFunction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||