Class Ms_kullbackleiblerKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Double ms_kullbackleibler(Matrix P, Matrix Q) Kullback-Leibler divergence between two probability distributions.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • ms_kullbackleibler

         final static Double ms_kullbackleibler(Matrix P, Matrix Q)

        Kullback-Leibler divergence between two probability distributions. Part of Shannon's entropy family. Measures information lost when Q is used to approximate P.

        Parameters:
        P - exact probability distribution
        Q - model probability distribution
        Returns:

        KL divergence