Catalano.Math.Dissimilarities
Class Dissimilarity
- java.lang.Object
-
- Catalano.Math.Dissimilarities.Dissimilarity
-
public final class Dissimilarity extends java.lang.ObjectDefines a set of extension methods defining dissimilarity measures.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubleDice(int[] x, int[] y)Gets the Dice dissimilarity between two points.static doubleJaccard(int[] x, int[] y)Gets the Jaccard dissimilarity between two points.static doubleKulsinsk(int[] x, int[] y)Gets the Kulsinsk dissimilarity between two points.static doubleMatching(int[] x, int[] y)Gets the Matching dissimilarity between two points.static doubleRogersTanimoto(int[] x, int[] y)Gets the Rogers Tanimoto dissimilarity between two points.static doubleRusselRao(int[] x, int[] y)Gets the Russel Rao dissimilarity between two points.static doubleSokalMichener(int[] x, int[] y)Gets the Sokal Michener dissimilarity between two points.static doubleSokalSneath(int[] x, int[] y)Gets the Sokal Sneath dissimilarity between two points.static doubleYule(int[] x, int[] y)Gets the Yule dissimilarity between two points.
-
-
-
Method Detail
-
Dice
public static double Dice(int[] x, int[] y)Gets the Dice dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Dice dissimilarity between x and y.
-
Jaccard
public static double Jaccard(int[] x, int[] y)Gets the Jaccard dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Jaccard dissimilarity between x and y.
-
Kulsinsk
public static double Kulsinsk(int[] x, int[] y)Gets the Kulsinsk dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Kulsinsk dissimilarity between x and y.
-
Matching
public static double Matching(int[] x, int[] y)Gets the Matching dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Matching dissimilarity between x and y.
-
RogersTanimoto
public static double RogersTanimoto(int[] x, int[] y)Gets the Rogers Tanimoto dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Rogers Tanimoto dissimilarity between x and y.
-
RusselRao
public static double RusselRao(int[] x, int[] y)Gets the Russel Rao dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Russel Rao dissimilarity between x and y.
-
SokalMichener
public static double SokalMichener(int[] x, int[] y)Gets the Sokal Michener dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Sokal Michener dissimilarity between x and y.
-
SokalSneath
public static double SokalSneath(int[] x, int[] y)Gets the Sokal Sneath dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Sokal Sneath dissimilarity between x and y.
-
Yule
public static double Yule(int[] x, int[] y)Gets the Yule dissimilarity between two points.- Parameters:
x- A point in space.y- A point in space.- Returns:
- The Yule dissimilarity between x and y.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG