E - the type of objects being modeledpublic interface Model<E>
Model represents a generic interface for
classes that estimate probabilities of objects.| Modifier and Type | Method and Description |
|---|---|
double |
log2Prob(E e)
Returns the log (base 2) of the probability of
the specified object.
|
double |
prob(E e)
Returns the probability of the specified object.
|
double prob(E e)
e - The object whose probability is returned.double log2Prob(E e)
e - The object whose probability is returned.Copyright © 2019 Alias-i, Inc.. All rights reserved.