weka.classifiers.neural.lvq.neighborhood
Class NeighbourhoodKernel

java.lang.Object
  extended by weka.classifiers.neural.lvq.neighborhood.NeighbourhoodKernel
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BubbleNeighbourhood, GaussianNeighbourhood

public abstract class NeighbourhoodKernel
extends java.lang.Object
implements java.io.Serializable

Date: 25/05/2004 File: SomNeighborhood.java

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
NeighbourhoodKernel(double aInitialNeighborhood, int aTotalIterations)
           
 
Method Summary
abstract  double calculateNeighbourhoodAdjustedLearningRate(double aCurrentLearningRate, double aDistance, double aCurrentNeighbourhoodSize)
           
 double currentNeighborhoodSize(int aCurrentIteration)
           
abstract  boolean isDistanceInRadius(double aDistance, double aCurrentNeighbourhoodSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeighbourhoodKernel

public NeighbourhoodKernel(double aInitialNeighborhood,
                           int aTotalIterations)
Method Detail

isDistanceInRadius

public abstract boolean isDistanceInRadius(double aDistance,
                                           double aCurrentNeighbourhoodSize)

calculateNeighbourhoodAdjustedLearningRate

public abstract double calculateNeighbourhoodAdjustedLearningRate(double aCurrentLearningRate,
                                                                  double aDistance,
                                                                  double aCurrentNeighbourhoodSize)

currentNeighborhoodSize

public double currentNeighborhoodSize(int aCurrentIteration)