Class WeightedSquaredPearsonCorrelationDistance

    • Field Detail

      • weights

        private double[] weights
        Weights
    • Constructor Detail

      • WeightedSquaredPearsonCorrelationDistance

        public WeightedSquaredPearsonCorrelationDistance​(double[] weights)
        Constructor.
        Parameters:
        weights - Weights
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object