public class DistanceMeasureService extends Object
| Constructor and Description |
|---|
DistanceMeasureService() |
| Modifier and Type | Method and Description |
|---|---|
static double |
euclideanDistance(double[] x1,
double[] x2) |
static double |
getDistance(com.github.chen0040.data.frame.DataRow t1,
com.github.chen0040.data.frame.DataRow t2,
java.util.function.BiFunction<com.github.chen0040.data.frame.DataRow,com.github.chen0040.data.frame.DataRow,Double> distance) |
static double |
getDistance(com.github.chen0040.data.frame.DataRow t1,
double[] t2,
java.util.function.BiFunction<com.github.chen0040.data.frame.DataRow,double[],Double> distance) |
public static double getDistance(com.github.chen0040.data.frame.DataRow t1,
double[] t2,
java.util.function.BiFunction<com.github.chen0040.data.frame.DataRow,double[],Double> distance)
public static double getDistance(com.github.chen0040.data.frame.DataRow t1,
com.github.chen0040.data.frame.DataRow t2,
java.util.function.BiFunction<com.github.chen0040.data.frame.DataRow,com.github.chen0040.data.frame.DataRow,Double> distance)
public static double euclideanDistance(double[] x1,
double[] x2)
Copyright © 2017. All rights reserved.