GClasses
|
Uses a unit-height, zero-mean Gaussian weighting with the width as sigma truncated to 0 at 5 standard deviations.
#include <GSelfOrganizingMap.h>
Public Member Functions | |
virtual | ~GaussianWindowFunction () |
Virtual destructor for good memory hygiene. More... | |
virtual double | minZeroDistance (double width) const |
The Gaussian is truncated to 0 after 5 standard deviations. More... | |
virtual double | operator() (double width, double distance) const |
Returns exp(-0.5(distance/width)^2) if distance < 5*width, 0 otherwise. More... | |
Public Member Functions inherited from GClasses::SOM::NeighborhoodWindowFunction | |
virtual | ~NeighborhoodWindowFunction () |
Virtual destructor for good memory hygiene. More... | |
|
inlinevirtual |
Virtual destructor for good memory hygiene.
|
inlinevirtual |
The Gaussian is truncated to 0 after 5 standard deviations.
See NeighborhoodWindowFunction::minZeroDistance()
Implements GClasses::SOM::NeighborhoodWindowFunction.
|
virtual |
Returns exp(-0.5(distance/width)^2) if distance < 5*width, 0 otherwise.
See NeighborhoodWindowFunction::operator()
Implements GClasses::SOM::NeighborhoodWindowFunction.