public interface DensityFunction<T>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
train(java.util.List<T> e)
Train the density function on the specified training set
|
void |
train(T e)
Adds a sample to the training set and train the density function
|
double |
valueOf(T e)
Value of the density function for the specified sample
|
void train(T e)
e
- the sample to add to the training setvoid train(java.util.List<T> e)
e
- the list of training samplesdouble valueOf(T e)
e
- the sample to evaluate