Documentation of 'Catalano.Statistics.Correlations' Java class
Correlations
Catalano.Statistics

Class Correlations



  • public final class Correlations
    extends java.lang.Object
    Used to compare two vectors in feature space by finding the similarity between the two.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double PearsonCorrelation(double[] x, double[] y) 
      static double PearsonCorrelation(double[] x, double[] y, double meanX, double meanY) 
      static double SpearmanCorrelation(double[] x, double[] y) 
      static double Tanimoto(double[] p, double[] q)
      Takes on values between 0 and 1; 1 for identical vectors
      static double VectorInnerProduct(double[] p, double[] q)
      Inner Product
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • VectorInnerProduct

        public static double VectorInnerProduct(double[] p,
                                                double[] q)
        Inner Product
        Parameters:
        p - Vector 1
        q - Vector 2
        Returns:
        Inner Product
      • Tanimoto

        public static double Tanimoto(double[] p,
                                      double[] q)
        Takes on values between 0 and 1; 1 for identical vectors
        Parameters:
        p - Vector 1
        q - Vector 2
        Returns:
        Tanimoto metric
      • PearsonCorrelation

        public static double PearsonCorrelation(double[] x,
                                                double[] y)
      • PearsonCorrelation

        public static double PearsonCorrelation(double[] x,
                                                double[] y,
                                                double meanX,
                                                double meanY)
      • SpearmanCorrelation

        public static double SpearmanCorrelation(double[] x,
                                                 double[] y)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.