Class NeuronSquareMesh2D.DataVisualization

    • Method Detail

      • getNumberOfSamples

        public int getNumberOfSamples()
        Returns:
        the total number of samples.
      • getQuantizationError

        public double[][] getQuantizationError()
        Returns:
        the quantization error. Each bin will contain the average of the distances between samples mapped to the corresponding unit and the weight vector of that unit.
        See Also:
        getMeanQuantizationError()
      • getTopographicError

        public double[][] getTopographicError()
        Returns:
        the topographic error. Each bin will contain the number of data for which the first and second best matching units are not adjacent in the map.
        See Also:
        getMeanTopographicError()
      • getNormalizedHits

        public double[][] getNormalizedHits()
        Returns:
        the hits histogram (normalized). Each bin will contain the number of data for which the corresponding neuron is the best matching unit.
      • getUMatrix

        public double[][] getUMatrix()
        Returns:
        the U-matrix. Each bin will contain the average distance between a unit and all its neighbours will be computed (and stored in the pixel corresponding to that unit of the 2D-map). The number of neighbours taken into account depends on the network neighbourhood type.