public interface ConditionalDensityEstimator
Modifier and Type | Method and Description |
---|---|
double |
logDensity(Instance instance,
double value)
Returns natural logarithm of density estimate for given value based on given instance.
|
double logDensity(Instance instance, double value) throws java.lang.Exception
instance
- the instance to make the prediction for.value
- the value to make the prediction for.java.lang.Exception
- if the density cannot be computed