weka.classifiers.neural.lvq.neighborhood
Class BubbleNeighbourhood

java.lang.Object
  extended by weka.classifiers.neural.lvq.neighborhood.NeighbourhoodKernel
      extended by weka.classifiers.neural.lvq.neighborhood.BubbleNeighbourhood
All Implemented Interfaces:
java.io.Serializable

public class BubbleNeighbourhood
extends NeighbourhoodKernel

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

Author:
Jason Brownlee
See Also:
Serialized Form

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

Constructor Detail

BubbleNeighbourhood

public BubbleNeighbourhood(double aInitialNeighborhood,
                           int aTotalIterations)
Method Detail

calculateNeighbourhoodAdjustedLearningRate

public double calculateNeighbourhoodAdjustedLearningRate(double aCurrentLearningRate,
                                                         double aDistance,
                                                         double aCurrentNeighbourhoodSize)
Specified by:
calculateNeighbourhoodAdjustedLearningRate in class NeighbourhoodKernel

isDistanceInRadius

public boolean isDistanceInRadius(double aDistance,
                                  double aCurrentNeighbourhoodSize)
Specified by:
isDistanceInRadius in class NeighbourhoodKernel