Package org.encog.ml.hmm.alog

Examples of org.encog.ml.hmm.alog.ForwardBackwardCalculator


    return (new ForwardBackwardScaledCalculator(seq, this)).lnProbability();
  }

  @Override
  public double probability(final MLDataSet seq) {
    return (new ForwardBackwardCalculator(seq, this)).probability();
  }
View Full Code Here


      Arrays.fill(aijNum[i], 0.);
    }

    int g = 0;
    for (final MLDataSet obsSeq : this.training.getSequences()) {
      final ForwardBackwardCalculator fbc = generateForwardBackwardCalculator(
          obsSeq, this.method);

      final double xi[][][] = estimateXi(obsSeq, fbc, this.method);
      final double gamma[][] = allGamma[g++] = estimateGamma(xi, fbc);
View Full Code Here

  }

  @Override
  public ForwardBackwardCalculator generateForwardBackwardCalculator(
      final MLDataSet sequence, final HiddenMarkovModel hmm) {
    return new ForwardBackwardCalculator(sequence, hmm,
        EnumSet.allOf(ForwardBackwardCalculator.Computation.class));
  }
View Full Code Here

TOP

Related Classes of org.encog.ml.hmm.alog.ForwardBackwardCalculator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.