Package org.encog.ml.hmm.alog

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


  public void testDiscBWL() {
   
    HiddenMarkovModel hmm = buildDiscHMM();
    HiddenMarkovModel learntHmm = buildDiscInitHMM();
   
    MarkovGenerator mg = new MarkovGenerator(hmm);
    MLSequenceSet training = mg.generateSequences(200,100);
   
    TrainBaumWelch bwl = new TrainBaumWelch(learntHmm,training);
   
    KullbackLeiblerDistanceCalculator klc =
      new KullbackLeiblerDistanceCalculator();
View Full Code Here


  public void testContBWL() {
   
    HiddenMarkovModel hmm = buildContHMM();
    HiddenMarkovModel learntHmm = buildContInitHMM();
   
    MarkovGenerator mg = new MarkovGenerator(hmm);
    MLSequenceSet training = mg.generateSequences(200,100);
   
    TrainBaumWelch bwl = new TrainBaumWelch(learntHmm,training);
   
    KullbackLeiblerDistanceCalculator klc =
      new KullbackLeiblerDistanceCalculator();
View Full Code Here

 
  public void testDiscKMeans() {
   
    HiddenMarkovModel hmm = buildDiscHMM();
   
    MarkovGenerator mg = new MarkovGenerator(hmm);
    MLSequenceSet sequences = mg.generateSequences(200,100);
   
    TrainKMeans trainer = new TrainKMeans(hmm,sequences);
   
    HiddenMarkovModel learntHmm = buildDiscInitHMM();
   
View Full Code Here

TOP

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

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.