Class OverlapSimilarity
- java.lang.Object
-
- org.neo4j.gds.functions.similairty.OverlapSimilarity
-
public final class OverlapSimilarity extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
computeSimilarity(long[] vector1, int length1, long[] vector2, int length2, double similarityCutoff)
static double
computeSimilarity(long[] vector1, long[] vector2, double similarityCutoff)
static double
computeWeightedSimilarity(long[] vector1, int length1, long[] vector2, int length2, double[] weights1, double[] weights2, double similarityCutoff)
static double
computeWeightedSimilarity(long[] vector1, long[] vector2, double[] weights1, double[] weights2, double similarityCutoff)
-
-
-
Method Detail
-
computeSimilarity
public static double computeSimilarity(long[] vector1, long[] vector2, double similarityCutoff)
-
computeWeightedSimilarity
public static double computeWeightedSimilarity(long[] vector1, long[] vector2, double[] weights1, double[] weights2, double similarityCutoff)
-
computeSimilarity
public static double computeSimilarity(long[] vector1, int length1, long[] vector2, int length2, double similarityCutoff)
-
computeWeightedSimilarity
public static double computeWeightedSimilarity(long[] vector1, int length1, long[] vector2, int length2, double[] weights1, double[] weights2, double similarityCutoff)
-
-