|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.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 com.rapidminer.operator.generator.TargetFunction |
|---|
TargetFunction.FunctionException |
| Field Summary | |
|---|---|
protected double |
lower
|
protected double |
upper
|
| Constructor Summary | |
|---|---|
ClassificationFunction()
|
|
| Method Summary | |
|---|---|
double[] |
createArguments(int dimension,
RandomGenerator random)
Creates and returns a number of arguments. |
ExampleSetMetaData |
getGeneratedMetaData()
This method returns the meta data of the generated data. |
Attribute |
getLabel()
Returns the label attribute. |
int |
getTotalNumberOfAttributes()
|
int |
getTotalNumberOfExamples()
|
void |
init(RandomGenerator random)
Does nothing. |
void |
setLowerArgumentBound(double lower)
Sets the lower bound for the arguments. |
void |
setTotalNumberOfAttributes(int number)
Sets the maximal number of attributes. |
void |
setTotalNumberOfExamples(int number)
Sets the maximal number of examples. |
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 com.rapidminer.operator.generator.TargetFunction |
|---|
calculate |
| Field Detail |
|---|
protected double lower
protected double upper
| Constructor Detail |
|---|
public ClassificationFunction()
| Method Detail |
|---|
public void init(RandomGenerator random)
init in interface TargetFunctionpublic void setTotalNumberOfExamples(int number)
TargetFunction
setTotalNumberOfExamples in interface TargetFunctionpublic int getTotalNumberOfExamples()
public void setTotalNumberOfAttributes(int number)
TargetFunction
setTotalNumberOfAttributes in interface TargetFunctionpublic int getTotalNumberOfAttributes()
public 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 TargetFunctionpublic ExampleSetMetaData getGeneratedMetaData()
TargetFunction
getGeneratedMetaData in interface TargetFunction
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||