moj.similarity.measures
Class JaccardS_row
java.lang.Object
moj.similarity.SimilarityMeasure
moj.similarity.measures.JaccardS_row
public class JaccardS_row
- extends SimilarityMeasure
JACCARD SIMILARITY COEFFICIENT
(e.g., Jaccard 1912, The distribution of the flora of the alpine zone,
New Phytologist 11:37-50); Sokal Sneath 1963:133;
- Version:
- 2004-Sep-03
- Author:
- Martin Hassel
JaccardS_row
public JaccardS_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