public static enum RBFNet.Phase2Learner extends Enum<RBFNet.Phase2Learner>
Enum Constant and Description |
---|
CENTROID_DISTANCE
This method sets the bandwidth for each neuron based on the distances
to the neuron from each data point that is closest to said neuron.
|
CLOSEST_OPPOSITE_CENTROID
This bandwidth estimator only works for classification problems.
|
NEAREST_OTHER_CENTROID_AVERAGE
This method sets the bandwidth for each neuron based on the average
distance of the
p nearest neurons. |
Modifier and Type | Method and Description |
---|---|
protected abstract double[] |
estimateBandwidths(double alpha,
int p,
DataSet data,
List<Vec> centroids,
List<Double> centroidDistCache,
DistanceMetric dm,
ExecutorService threadpool) |
static RBFNet.Phase2Learner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RBFNet.Phase2Learner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RBFNet.Phase2Learner CENTROID_DISTANCE
α
σjpublic static final RBFNet.Phase2Learner CLOSEST_OPPOSITE_CENTROID
α
times the distance from the neuron
to the closest neuron with a different class label.public static final RBFNet.Phase2Learner NEAREST_OTHER_CENTROID_AVERAGE
public static RBFNet.Phase2Learner[] values()
for (RBFNet.Phase2Learner c : RBFNet.Phase2Learner.values()) System.out.println(c);
public static RBFNet.Phase2Learner 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 double[] estimateBandwidths(double alpha, int p, DataSet data, List<Vec> centroids, List<Double> centroidDistCache, DistanceMetric dm, ExecutorService threadpool)
Copyright © 2017. All rights reserved.