Documentation of 'org.encog.ml.hmm.distributions.StateDistribution' Java class
StateDistribution
org.encog.ml.hmm.distributions

Interface StateDistribution

  • All Superinterfaces:
    java.lang.Cloneable, java.io.Serializable
    All Known Implementing Classes:
    ContinousDistribution, DiscreteDistribution


    public interface StateDistribution
    extends java.lang.Cloneable, java.io.Serializable
    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 Detail

      • fit

        void fit(MLDataSet set)
        Fit this distribution to the specified data set.
        Parameters:
        set - The data set to fit to.
      • fit

        void fit(MLDataSet set,
                 double[] weights)
        Fit this distribution to the specified data set, given the specified weights, per element.
        Parameters:
        set - The data set to fit to.
        weights - The weights.
      • generate

        MLDataPair generate()
        Generate a random data pair, based on the probabilities.
        Returns:
        A random data pair.
      • probability

        double probability(MLDataPair o)
        Determine the probability of the specified data pair.
        Parameters:
        o - The pair to consider.
        Returns:
        The probability.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.