|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.android.activityminer.pmml.model.knn.KNNInput
public class KNNInput
The knn input representation (without extensions)
| Field Summary | |
|---|---|
private CompareFunctionType |
compareFunction
Each field has a compareFunction attribute, this is either defined as default in element ComparisonMeasure or it can be defined per KNNInput. |
private String |
field
Contains the name of a DataField or a DerivedField. |
private double |
fieldWeight
Defines the importance factor for the field. |
| Constructor Summary | |
|---|---|
KNNInput()
|
|
| Method Summary | |
|---|---|
CompareFunctionType |
getCompareFunction()
Getter for the compareFunction |
String |
getField()
Getter for the field |
double |
getFieldWeight()
Getter for the fieldWeight |
void |
setCompareFunction(CompareFunctionType compareFunction)
Setter for the compareFunction |
void |
setField(String field)
Setter for the field |
void |
setFieldWeight(double fieldWeight)
Setter for the fieldWeight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String field
private double fieldWeight
private CompareFunctionType compareFunction
| Constructor Detail |
|---|
public KNNInput()
| Method Detail |
|---|
public void setField(String field)
field - the field to setpublic String getField()
public void setFieldWeight(double fieldWeight)
fieldWeight - the fieldWeight to setpublic double getFieldWeight()
public void setCompareFunction(CompareFunctionType compareFunction)
compareFunction - the compareFunction to setpublic CompareFunctionType getCompareFunction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||