public static enum RBFNet.Phase1Learner extends Enum<RBFNet.Phase1Learner>
Enum Constant and Description |
---|
K_MEANS
Selects the Neurons by performing k-Means clustering on the data
|
RANDOM
Selects the Neurons at random from the training data
|
Modifier and Type | Method and Description |
---|---|
protected abstract List<Vec> |
getCentroids(DataSet data,
int centroids,
DistanceMetric dm,
ExecutorService ex)
Obtains the centroids for the given data set
|
static RBFNet.Phase1Learner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RBFNet.Phase1Learner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RBFNet.Phase1Learner RANDOM
public static final RBFNet.Phase1Learner K_MEANS
public static RBFNet.Phase1Learner[] values()
for (RBFNet.Phase1Learner c : RBFNet.Phase1Learner.values()) System.out.println(c);
public static RBFNet.Phase1Learner valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract List<Vec> getCentroids(DataSet data, int centroids, DistanceMetric dm, ExecutorService ex)
data
- the data set to get the centroids forcentroids
- the number of centroids to obtaindm
- the distance metric that is being usedex
- the source of threads for parallel computationCopyright © 2017. All rights reserved.