BenchmarkEvaluation
Class Correlation

java.lang.Object
  extended by BenchmarkEvaluation.Correlation

public class Correlation
extends java.lang.Object


Constructor Summary
Correlation()
           
 
Method Summary
static double computePearsonCorrelation(double[] judgments, double[] computedValues)
          Computing the Pearson correlation coefficient between tow values series
static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, FeaturesMeasuresEnum fm)
          Compute the Pearson correlation for couples having non zero values provided by FeaturesMeasures semantic similarity measures.
static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, MinPathLength mpl)
          Compute the Pearson correlation for couples having non zero values provided by MinPathLength semantic similarity measure.
static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, TaxonomicMeasuresEnum tm)
          Compute the Pearson correlation for couples having non zero values provided by the semantic similarity measure.
static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, WordNetICApproaches wic)
          Compute the Pearson correlation for couples having non zero values provided by WordNetICApproaches semantic similarity measures.
static double computeSpearmanCorrelation(double[] judgments, double[] computedValues)
          Computing the Spearman correlation coefficient between tow values series.
static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, FeaturesMeasuresEnum fm)
          Compute the Speraman correlation for couples having non zero values provided by Features semantic similarity measures.
static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, MinPathLength mpl)
          Compute the Speraman correlation for couples having non zero values provided by MinPathLength semantic similarity measure.
static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, TaxonomicMeasuresEnum tm)
          Compute the Speraman correlation for couples having non zero values provided by taxonomic semantic similarity measures.
static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments, double[] computedValues, WordNetICApproaches wic)
          Compute the Speraman correlation for couples having non zero values provided by WordNetICApproaches semantic similarity measures.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Correlation

public Correlation()
Method Detail

computePearsonCorrelation

public static double computePearsonCorrelation(double[] judgments,
                                               double[] computedValues)
                                        throws CorrelationException
Computing the Pearson correlation coefficient between tow values series

Throws:
CorrelationException

computePearsonCorrelationWithoutNonTreatedCouples

public static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                       double[] computedValues,
                                                                       TaxonomicMeasuresEnum tm)
                                                                throws CorrelationException
Compute the Pearson correlation for couples having non zero values provided by the semantic similarity measure.

Parameters:
judgments -
computedValues -
Throws:
CorrelationException

computePearsonCorrelationWithoutNonTreatedCouples

public static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                       double[] computedValues,
                                                                       MinPathLength mpl)
                                                                throws CorrelationException
Compute the Pearson correlation for couples having non zero values provided by MinPathLength semantic similarity measure.

Parameters:
judgments -
computedValues -
mpl -
Throws:
CorrelationException

computePearsonCorrelationWithoutNonTreatedCouples

public static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                       double[] computedValues,
                                                                       WordNetICApproaches wic)
                                                                throws CorrelationException
Compute the Pearson correlation for couples having non zero values provided by WordNetICApproaches semantic similarity measures.

Parameters:
judgments -
computedValues -
wic -
Throws:
CorrelationException

computePearsonCorrelationWithoutNonTreatedCouples

public static double computePearsonCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                       double[] computedValues,
                                                                       FeaturesMeasuresEnum fm)
                                                                throws CorrelationException
Compute the Pearson correlation for couples having non zero values provided by FeaturesMeasures semantic similarity measures.

Parameters:
judgments -
computedValues -
fm -
Throws:
CorrelationException

computeSpearmanCorrelation

public static double computeSpearmanCorrelation(double[] judgments,
                                                double[] computedValues)
                                         throws CorrelationException
Computing the Spearman correlation coefficient between tow values series.

Throws:
CorrelationException

computeSpearmanCorrelationWithoutNonTreatedCouples

public static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                        double[] computedValues,
                                                                        TaxonomicMeasuresEnum tm)
                                                                 throws CorrelationException
Compute the Speraman correlation for couples having non zero values provided by taxonomic semantic similarity measures.

Parameters:
judgments -
computedValues -
Throws:
CorrelationException

computeSpearmanCorrelationWithoutNonTreatedCouples

public static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                        double[] computedValues,
                                                                        MinPathLength mpl)
                                                                 throws CorrelationException
Compute the Speraman correlation for couples having non zero values provided by MinPathLength semantic similarity measure.

Parameters:
judgments -
computedValues -
mpl -
Throws:
CorrelationException

computeSpearmanCorrelationWithoutNonTreatedCouples

public static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                        double[] computedValues,
                                                                        WordNetICApproaches wic)
                                                                 throws CorrelationException
Compute the Speraman correlation for couples having non zero values provided by WordNetICApproaches semantic similarity measures.

Parameters:
judgments -
computedValues -
wic -
Throws:
CorrelationException

computeSpearmanCorrelationWithoutNonTreatedCouples

public static double computeSpearmanCorrelationWithoutNonTreatedCouples(double[] judgments,
                                                                        double[] computedValues,
                                                                        FeaturesMeasuresEnum fm)
                                                                 throws CorrelationException
Compute the Speraman correlation for couples having non zero values provided by Features semantic similarity measures.

Parameters:
judgments -
computedValues -
fm -
Throws:
CorrelationException