Documentation of 'org.apache.commons.math3.ml.neuralnet.twod.util.QuantizationError' Java class
QuantizationError
org.apache.commons.math3.ml.neuralnet.twod.util

Class QuantizationError

  • All Implemented Interfaces:
    MapDataVisualization


    public class QuantizationError
    extends java.lang.Object
    implements MapDataVisualization
    Computes the quantization error histogram. Each bin will contain the average of the distances between samples mapped to the corresponding unit and the weight vector of that unit.
    Since:
    3.6
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[][] computeImage(NeuronSquareMesh2D map, java.lang.Iterable<double[]> data)
      Creates an image of the data metrics when represented by the map.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QuantizationError

        public QuantizationError(DistanceMeasure distance)
        Parameters:
        distance - Distance.
    • Method Detail

      • computeImage

        public double[][] computeImage(NeuronSquareMesh2D map,
                                       java.lang.Iterable<double[]> data)
        Creates an image of the data metrics when represented by the map.
        Specified by:
        computeImage in interface MapDataVisualization
        Parameters:
        map - Map.
        data - Data.
        Returns:
        a 2D-array (in row major order) representing the metrics.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.