moj.similarity.measures
Class BinAverageSquaredD_row
java.lang.Object
moj.similarity.SimilarityMeasure
moj.similarity.measures.BinAverageSquaredD_row
public class BinAverageSquaredD_row
- extends SimilarityMeasure
AVERAGE SQUARED DISTANCE
http://crrm.univ-mrs.fr/commercial/software/dataview/appendix.html
dissimilarity [0, 1]; same as binary euclidean distance of
http://149.170.199.144/multivar/dist.htm
Usage: for binary data.
- Version:
- 2004-Oct-01
- Author:
- Martin Hassel
BinAverageSquaredD_row
public BinAverageSquaredD_row()
analyzeMatrix
public double[][] analyzeMatrix(float[][] data_matrix)
- Specified by:
analyzeMatrix
in class SimilarityMeasure
- Parameters:
data_matrix
- an array of float
arrays denoting the
rows in the matrix that are to be compared for similarity.
- Returns:
- an array of
double
arrays containing the
similarities between all rows