at.tuwien.ifs.somtoolbox.layers.quality
Class QuantizationError

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.layers.quality.AbstractQualityMeasure
      extended by at.tuwien.ifs.somtoolbox.layers.quality.QuantizationError
All Implemented Interfaces:
QualityMeasure

public class QuantizationError
extends AbstractQualityMeasure

Calculates the Quantisation Error, defined as the average distance between and input data vector and the weight-vector of its best-matching-unit.
Calculates the following values:

Version:
$Id: QuantizationError.java 3883 2010-11-02 17:13:23Z frank $
Author:
Michael Dittenbach, Rudolf Mayer

Field Summary
private  double mmqe
           
private  double mqe
           
private  double[][] unitMqe
           
private  double[][] unitQe
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.layers.quality.AbstractQualityMeasure
data, layer, mapQualityDescriptions, mapQualityNames, unitQualityDescriptions, unitQualityNames
 
Constructor Summary
QuantizationError(Layer layer, InputData data)
           
 
Method Summary
 double getMapQuality(String name)
           
 double[][] getUnitQualities(String name)
           
 
Methods inherited from class at.tuwien.ifs.somtoolbox.layers.quality.AbstractQualityMeasure
getMapQualityDescriptions, getMapQualityNames, getUnitQualityDescriptions, getUnitQualityNames, instantiate, splitNameAndMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mmqe

private double mmqe

mqe

private double mqe

unitMqe

private double[][] unitMqe

unitQe

private double[][] unitQe
Constructor Detail

QuantizationError

public QuantizationError(Layer layer,
                         InputData data)
Method Detail

getMapQuality

public double getMapQuality(String name)
                     throws QualityMeasureNotFoundException
Throws:
QualityMeasureNotFoundException

getUnitQualities

public double[][] getUnitQualities(String name)
                            throws QualityMeasureNotFoundException
Throws:
QualityMeasureNotFoundException