|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.method.retrieve.NNretrieval.NNConfig
jcolibri.method.reuse.classification.KNNClassificationConfig
public class KNNClassificationConfig
This class stores the configuration for the KNN classification methods.
Constructor Summary | |
---|---|
KNNClassificationConfig()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class jcolibri.method.retrieve.NNretrieval.NNConfig |
---|
addMapping, addMapping, getDescriptionSimFunction, getGlobalSimilFunction, getLocalSimilFunction, getWeight, setDescriptionSimFunction, setWeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KNNClassificationConfig()
Method Detail |
---|
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.
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |