Package org.openrefine.clustering.knn
Class kNNClusterer.kNNClustererConfig
- java.lang.Object
-
- org.openrefine.clustering.ClustererConfig
-
- org.openrefine.clustering.knn.kNNClusterer.kNNClustererConfig
-
- Enclosing class:
- kNNClusterer
public static class kNNClusterer.kNNClustererConfig extends ClustererConfig
-
-
Field Summary
-
Fields inherited from class org.openrefine.clustering.ClustererConfig
columnName
-
-
Constructor Summary
Constructors Constructor Description kNNClustererConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description kNNClusterer
apply(Grid state)
Instantiate the configuration on a particular project.SimilarityDistance
getDistance()
String
getDistanceStr()
kNNClusterer.kNNClustererConfigParameters
getParameters()
String
getType()
Type string used in Json serializationvoid
setDistance(String distanceStr)
void
setParameters(kNNClusterer.kNNClustererConfigParameters params)
-
Methods inherited from class org.openrefine.clustering.ClustererConfig
getColumnName, setColumnName
-
-
-
-
Method Detail
-
getDistance
public SimilarityDistance getDistance()
-
setDistance
public void setDistance(String distanceStr)
-
getDistanceStr
public String getDistanceStr()
-
getParameters
public kNNClusterer.kNNClustererConfigParameters getParameters()
-
setParameters
public void setParameters(kNNClusterer.kNNClustererConfigParameters params)
-
apply
public kNNClusterer apply(Grid state)
Description copied from class:ClustererConfig
Instantiate the configuration on a particular project.- Specified by:
apply
in classClustererConfig
- Parameters:
state
- the state of the grid in the project- Returns:
-
getType
public String getType()
Description copied from class:ClustererConfig
Type string used in Json serialization- Specified by:
getType
in classClustererConfig
-
-