|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.generator.RegressionFunction
edu.udo.cs.yale.operator.generator.RandomFunction
public class RandomFunction
The label is randomly generated.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.udo.cs.yale.operator.generator.TargetFunction |
|---|
TargetFunction.FunctionException |
| Field Summary | |
|---|---|
private RandomGenerator |
random
|
| Constructor Summary | |
|---|---|
RandomFunction()
|
|
| Method Summary | |
|---|---|
double |
calculate(double[] args)
Calculates the target function on arguments. |
void |
init(RandomGenerator random)
Does nothing. |
| Methods inherited from class edu.udo.cs.yale.operator.generator.RegressionFunction |
|---|
createArguments, getLabel, setLowerArgumentBound, setTotalNumberOfAttributes, setTotalNumberOfExamples, setUpperArgumentBound |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private RandomGenerator random
| Constructor Detail |
|---|
public RandomFunction()
| Method Detail |
|---|
public void init(RandomGenerator random)
RegressionFunction
init in interface TargetFunctioninit in class RegressionFunctionpublic double calculate(double[] args)
TargetFunction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||