Package | Description |
---|---|
org.tribuo.clustering.kmeans |
Provides a multithreaded implementation of K-Means, with a
configurable distance function.
|
Modifier and Type | Field and Description |
---|---|
KMeansTrainer.Initialisation |
TrainTest.KMeansOptions.initialisation |
KMeansTrainer.Initialisation |
KMeansOptions.initialisation |
Modifier and Type | Method and Description |
---|---|
static KMeansTrainer.Initialisation |
KMeansTrainer.Initialisation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KMeansTrainer.Initialisation[] |
KMeansTrainer.Initialisation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
KMeansTrainer(int centroids,
int iterations,
KMeansTrainer.Distance distanceType,
KMeansTrainer.Initialisation initialisationType,
int numThreads,
long seed)
Constructs a K-Means trainer using the supplied parameters.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.