Modifier and Type | Field and Description |
---|---|
int |
centroids |
KMeansTrainer.Distance |
distance |
DataOptions |
general |
int |
iterations |
int |
numThreads |
Constructor and Description |
---|
KMeansOptions() |
public DataOptions general
@Option(charName=110, longName="num-clusters", usage="Number of clusters to infer. Defaults to 5.") public int centroids
@Option(charName=105, longName="iterations", usage="Maximum number of iterations. Defaults to 10.") public int iterations
@Option(charName=100, longName="distance", usage="Distance function to use in the e step. Defaults to EUCLIDEAN.") public KMeansTrainer.Distance distance
@Option(charName=116, longName="num-threads", usage="Number of threads to use (default 4, range (1, num hw threads)).") public int numThreads
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.