Class DistanceMetrics


  • public class DistanceMetrics
    extends java.lang.Object
    DistanceMetrics

    Copyright: Idorsia Pharmaceuticals Ltd., Inc. All Rights Reserved This software is the proprietary information of Idorsia Pharmaceuticals, Ltd. Use is subject to license terms.

    Created by korffmo1 on 13.09.17.
    • Constructor Summary

      Constructors 
      Constructor Description
      DistanceMetrics()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getCosine​(double[] vectorA, double[] vectorB)  
      static double getJaccard​(int[] a1, int[] a2)  
      • Methods inherited from class java.lang.Object

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

      • DistanceMetrics

        public DistanceMetrics()
    • Method Detail

      • getJaccard

        public static final double getJaccard​(int[] a1,
                                              int[] a2)
      • getCosine

        public static double getCosine​(double[] vectorA,
                                       double[] vectorB)