moj.similarity.measures
Class BinDiceD_row
java.lang.Object
moj.similarity.SimilarityMeasure
moj.similarity.measures.BinDiceD_row
public class BinDiceD_row
- extends SimilarityMeasure
BINARY DICE DISTANCE
http://www.iro.umontreal.ca/~nie/IR-book/Ch.3.html
Dissimilarity coefficient that satisfies the triangle inequality
Usage: for binary data.
- Version:
- 2004-Sep-17
- Author:
- Martin Hassel
BinDiceD_row
public BinDiceD_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