|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.training.competitive.neighborhood.NeighborhoodGaussianMulti
public class NeighborhoodGaussianMulti
Implements a multi-dimensional gaussian neighborhood function. DO not use this for a 1D gaussian, just use the NeighborhoodGaussian for that.
| Constructor Summary | |
|---|---|
NeighborhoodGaussianMulti(int x,
int y)
Construct a 2d neighborhood function based on the sizes for the x and y dimensions. |
|
| Method Summary | |
|---|---|
double |
function(int currentNeuron,
int bestNeuron)
Calculate the value for the multi RBF function. |
double |
getRadius()
|
RadialBasisFunctionMulti |
getRBF()
|
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 NeighborhoodGaussianMulti(int x,
int y)
x - The size of the x-dimension.y - The size of the y-dimension.| Method Detail |
|---|
public double function(int currentNeuron,
int bestNeuron)
function in interface NeighborhoodFunctioncurrentNeuron - The current neuron.bestNeuron - The best neuron.
public double getRadius()
getRadius in interface NeighborhoodFunctionpublic RadialBasisFunctionMulti getRBF()
public void setRadius(double radius)
setRadius in interface NeighborhoodFunctionradius - The radius.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||