|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.som.training.basic.neighborhood.NeighborhoodRBF1D
public class NeighborhoodRBF1D
A neighborhood function based on an RBF function.
Constructor Summary | |
---|---|
NeighborhoodRBF1D(RadialBasisFunction radial)
Construct the neighborhood function with the specified radial function. |
|
NeighborhoodRBF1D(RBFEnum type)
Construct a 1d neighborhood function. |
Method Summary | |
---|---|
double |
function(int currentNeuron,
int bestNeuron)
Determine how much the current neuron should be affected by training based on its proximity to the winning neuron. |
double |
getRadius()
|
void |
setRadius(double radius)
Set the radius. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeighborhoodRBF1D(RadialBasisFunction radial)
radial
- The radial basis function to use.public NeighborhoodRBF1D(RBFEnum type)
type
- The RBF type to use.Method Detail |
---|
public double function(int currentNeuron, int bestNeuron)
function
in interface NeighborhoodFunction
currentNeuron
- THe current neuron being evaluated.bestNeuron
- The winning neuron.
public double getRadius()
getRadius
in interface NeighborhoodFunction
public void setRadius(double radius)
setRadius
in interface NeighborhoodFunction
radius
- The new radius.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |