|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - the type of objects being modeledpublic interface Model<E>
A Model represents a generic interface for
classes that estimate probabilities of objects.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
double prob(E e)
e - The object whose probability is returned.
double log2Prob(E e)
e - The object whose probability is returned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||