org.encog.ml.hmm.distributions
public interface StateDistribution extends Cloneable, Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2014. All Rights Reserved.