| Constructor and Description |
|---|
CorrelationDistance()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
d(double[] x,
double[] y)
Pearson correlation distance between the two arrays of type double.
|
static double |
kendall(double[] x,
double[] y)
Kendall rank correlation distance between the two arrays of type double.
|
static double |
kendall(float[] x,
float[] y)
Kendall rank correlation distance between the two arrays of type float.
|
static double |
kendall(int[] x,
int[] y)
Kendall rank correlation distance between the two arrays of type int.
|
static double |
pearson(double[] x,
double[] y)
Pearson correlation distance between the two arrays of type double.
|
static double |
pearson(float[] x,
float[] y)
Pearson correlation distance between the two arrays of type float.
|
static double |
pearson(int[] x,
int[] y)
Pearson correlation distance between the two arrays of type int.
|
static double |
spearman(double[] x,
double[] y)
Spearman correlation distance between the two arrays of type double.
|
static double |
spearman(float[] x,
float[] y)
Spearman correlation distance between the two arrays of type float.
|
static double |
spearman(int[] x,
int[] y)
Spearman correlation distance between the two arrays of type int.
|
String |
toString() |
public double d(double[] x,
double[] y)
public static double pearson(int[] x,
int[] y)
public static double pearson(float[] x,
float[] y)
public static double pearson(double[] x,
double[] y)
public static double spearman(int[] x,
int[] y)
public static double spearman(float[] x,
float[] y)
public static double spearman(double[] x,
double[] y)
public static double kendall(int[] x,
int[] y)
public static double kendall(float[] x,
float[] y)
public static double kendall(double[] x,
double[] y)
Copyright © 2015. All rights reserved.