moj.similarity.measures
Class KendallTauS_row

java.lang.Object
  extended by moj.similarity.SimilarityMeasure
      extended by moj.similarity.measures.KendallTauS_row

public class KendallTauS_row
extends SimilarityMeasure

KENDALL TAU RANK CORRELATION COEFFICIENT
http://www.psych.cornell.edu/Darlington/crosstab/table5.htm
Similarity [-1, 1]. No ties!
Usage: for binary data.

Version:
2004-Oct-02
Author:
Martin Hassel

Constructor Summary
KendallTauS_row()
           
 
Method Summary
 double[][] analyzeMatrix(float[][] data_matrix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KendallTauS_row

public KendallTauS_row()
Method Detail

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