Class KMeansOptions
java.lang.Object
org.tribuo.clustering.kmeans.KMeansOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
OLCUT
Options
for the K-Means implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
iterations
@Option(longName="kmeans-interations", usage="Iterations of the k-means algorithm. Defaults to 10.") public int iterations -
centroids
@Option(longName="kmeans-num-centroids", usage="Number of centroids in K-Means. Defaults to 10.") public int centroids -
distance
@Option(longName="kmeans-distance", usage="Distance function in K-Means. Defaults to EUCLIDEAN.") public KMeansTrainer.Distance distance -
numThreads
@Option(longName="kmeans-num-threads", usage="Number of computation threads in K-Means. Defaults to 4.") public int numThreads
-
-
Constructor Details
-
KMeansOptions
public KMeansOptions()
-
-
Method Details
-
getTrainer
-