Modifier and Type | Field and Description |
---|---|
int |
centroids |
KMeansTrainer.Distance |
distance |
DataOptions |
general |
KMeansTrainer.Initialisation |
initialisation |
int |
iterations |
int |
numThreads |
Constructor and Description |
---|
KMeansOptions() |
public DataOptions general
@Option(charName=110, longName="num-clusters", usage="Number of clusters to infer.") public int centroids
@Option(charName=105, longName="iterations", usage="Maximum number of iterations.") public int iterations
@Option(charName=100, longName="distance", usage="Distance function to use in the e step.") public KMeansTrainer.Distance distance
@Option(charName=115, longName="initialisation", usage="Type of initialisation to use for centroids.") public KMeansTrainer.Initialisation initialisation
@Option(charName=116, longName="num-threads", usage="Number of threads to use (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.