at.tuwien.ifs.somtoolbox.layers.quality
Class SOMDistortion
java.lang.Object
at.tuwien.ifs.somtoolbox.layers.quality.AbstractQualityMeasure
at.tuwien.ifs.somtoolbox.layers.quality.SOMDistortion
- All Implemented Interfaces:
- QualityMeasure
public class SOMDistortion
- extends AbstractQualityMeasure
Implementation of SOM Distortion Measure Quality.
- Version:
- $Id: SOMDistortion.java 3883 2010-11-02 17:13:23Z frank $
- Author:
- Michael Dittenbach
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
distortion
private double distortion
hits
private double[][] hits
unitAverage
private double[][] unitAverage
unitTotal
private double[][] unitTotal
SOMDistortion
public SOMDistortion(Layer layer,
InputData data)
getMapQuality
public double getMapQuality(String name)
throws QualityMeasureNotFoundException
- Throws:
QualityMeasureNotFoundException
getUnitQualities
public double[][] getUnitQualities(String name)
throws QualityMeasureNotFoundException
- Throws:
QualityMeasureNotFoundException
neighborhoodFunction
private double neighborhoodFunction(double dist)
squaredDistance
private double squaredDistance(InputDatum datum,
double[] vector2)
throws MetricException
- Throws:
MetricException