|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StateDistribution
This class represents a "state distribution". This is the means by which the probabilities between the states and observations are mapped. Currently two are supported. Use ContinousDistribution to use a Gaussian-based continuous distribution. Use DiscreteDistribution for a item-based distribution.
| Method Summary | |
|---|---|
StateDistribution |
clone()
|
void |
fit(MLDataSet set)
Fit this distribution to the specified data set. |
void |
fit(MLDataSet set,
double[] weights)
Fit this distribution to the specified data set, given the specified weights, per element. |
MLDataPair |
generate()
Generate a random data pair, based on the probabilities. |
double |
probability(MLDataPair o)
Determine the probability of the specified data pair. |
| Method Detail |
|---|
StateDistribution clone()
void fit(MLDataSet set)
set - The data set to fit to.
void fit(MLDataSet set,
double[] weights)
set - The data set to fit to.weights - The weights.MLDataPair generate()
double probability(MLDataPair o)
o - The pair to consider.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||