Interface UnivariateDensityEstimator

    • Method Detail

      • addValue

        void addValue​(double value,
                      double weight)
        Adds a value to the density estimator.
        Parameters:
        value - the value to add
        weight - the weight of the value
      • logDensity

        double logDensity​(double value)
        Returns the natural logarithm of the density estimate at the given point.
        Parameters:
        value - the value at which to evaluate
        Returns:
        the natural logarithm of the density estimate at the given value