Uses of Enum Class
org.tribuo.clustering.kmeans.KMeansTrainer.Distance
Package
Description
Provides a multithreaded implementation of K-Means, with a
configurable distance function.
-
Uses of KMeansTrainer.Distance in org.tribuo.clustering.kmeans
Modifier and TypeFieldDescriptionKMeansOptions.distance
Distance function in K-Means.TrainTest.KMeansOptions.distance
Distance function to use in the e step.Modifier and TypeMethodDescriptionstatic KMeansTrainer.Distance
Returns the enum constant of this class with the specified name.static KMeansTrainer.Distance[]
KMeansTrainer.Distance.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionKMeansTrainer
(int centroids, int iterations, KMeansTrainer.Distance distanceType, int numThreads, long seed) Constructs a K-Means trainer using the supplied parameters and the default random initialisation.KMeansTrainer
(int centroids, int iterations, KMeansTrainer.Distance distanceType, KMeansTrainer.Initialisation initialisationType, int numThreads, long seed) Constructs a K-Means trainer using the supplied parameters.