|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Model<O>
A model is a probability distribution over observed data points and allows the probability of any data point to be computed.
Method Summary | |
---|---|
void |
computeParameters()
Compute a new set of posterior parameters based upon the Observations that have been observed since my creation |
int |
count()
Return the number of observations that have been observed by this model |
void |
observe(O x)
Observe the given observation, retaining information about it |
double |
pdf(O x)
Return the probability that the observation is described by this model |
Methods inherited from interface org.apache.hadoop.io.Writable |
---|
readFields, write |
Methods inherited from interface org.apache.mahout.clustering.Printable |
---|
asFormatString, asJsonString |
Method Detail |
---|
void observe(O x)
x
- an Observation from the posteriorvoid computeParameters()
double pdf(O x)
x
- an Observation from the posterior
int count()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |