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.classifiers
Interface ConditionalDensityEstimator

All Known Implementing Classes:
  GaussianProcesses, RegressionByDiscretization

    public interface ConditionalDensityEstimator

Interface for numeric prediction schemes that can output conditional density estimates.

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

Method Summary
`double` | `logDensity(Instance instance, double value)` Returns natural logarithm of density estimate for given value based on given instance.

Method Detail

### logDensity

    double logDensity(Instance instance,
                      double value)
                      throws java.lang.Exception

  Returns natural logarithm of density estimate for given value based on given instance.

  Parameters:
    `instance` - the instance to make the prediction for.
    `value` - the value to make the prediction for.
  Returns:
    the natural logarithm of the density estimate
  Throws:
    `java.lang.Exception` - if the density cannot be computed

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