Class Ms_cityblockKt

    • 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_cityblock(Matrix P, Matrix Q) City block (Manhattan) distance 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_cityblock

         final static Double ms_cityblock(Matrix P, Matrix Q)

        City block (Manhattan) distance between two probability distributions. Part of the Minkowski family. Also known as L1 distance.

        Parameters:
        P - first probability distribution
        Q - second probability distribution
        Returns:

        City block distance