Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.estimators
Interface UnivariateDensityEstimator

All Known Implementing Classes:
  UnivariateEqualFrequencyHistogramEstimator, UnivariateKernelEstimator, UnivariateNormalEstimator

    public interface UnivariateDensityEstimator

Interface that can be implemented by simple weighted univariate density estimators.

Version:
  $Revision: 5680 $
Author:
  Eibe Frank (eibe@cs.waikato.ac.nz)

Method Summary
`void` | `addValue(double value, double weight)` Adds a value to the density estimator.
`double` | `logDensity(double value)` Returns the natural logarithm of the density estimate at the given point.

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

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD