public class KNNClassificationConfig extends NNConfig
| Constructor and Description |
|---|
KNNClassificationConfig() |
| Modifier and Type | Method and Description |
|---|---|
KNNClassificationMethod |
getClassificationMethod()
Returns the classification method stored in this
config object.
|
int |
getK() |
void |
setClassificationMethod(KNNClassificationMethod classificationMethod)
Sets the classification method for this
config object to be classificationMethod.
|
void |
setK(int k) |
addMapping, addMapping, getDescriptionSimFunction, getGlobalSimilFunction, getLocalSimilFunction, getWeight, setDescriptionSimFunction, setWeightpublic KNNClassificationConfig()
public KNNClassificationMethod getClassificationMethod()
public void setClassificationMethod(KNNClassificationMethod classificationMethod)
classificationMethod - the classification
method to be used for this config object.public int getK()
public void setK(int k)
k - The k to set.Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.