Documentation of 'Catalano.Math.Distances.SymmetricKullbackLeibler' Java class
SymmetricKullbackLeibler
Catalano.Math.Distances

Class SymmetricKullbackLeibler

  • All Implemented Interfaces:
    IDivergence<double[]>, java.io.Serializable


    public class SymmetricKullbackLeibler
    extends java.lang.Object
    implements IDivergence<double[]>
    Symmetric Kullback-Leibler distance. This metric is valid only for real and positive U and V.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SymmetricKullbackLeibler()
      Initialize a new instance of the SymmetricKullbackLeibler class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Compute(double[] u, double[] v)
      Compute the distance between the vectors.
      • Methods inherited from class java.lang.Object

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

      • SymmetricKullbackLeibler

        public SymmetricKullbackLeibler()
        Initialize a new instance of the SymmetricKullbackLeibler class.
    • Method Detail

      • Compute

        public double Compute(double[] u,
                              double[] v)
        Description copied from interface: IDivergence
        Compute the distance between the vectors.
        Specified by:
        Compute in interface IDivergence<double[]>
        Parameters:
        u - Vector.
        v - Vector.
        Returns:
        Distance.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.