Esempio n. 1
0
 /// <summary>
 /// Construct a KMeans trainer.
 /// </summary>
 /// <param name="method">The HMM.</param>
 /// <param name="sequences">The training data.</param>
 public TrainKMeans(HiddenMarkovModel method,
                    IMLSequenceSet sequences)
 {
     _method   = method;
     _modelHmm = method;
     _states   = method.StateCount;
     _training = sequences;
     _clusters = new Clusters(_states, sequences);
     _done     = false;
 }
 /// <summary>
 /// Construct a KMeans trainer. 
 /// </summary>
 /// <param name="method">The HMM.</param>
 /// <param name="sequences">The training data.</param>
 public TrainKMeans(HiddenMarkovModel method,
                    IMLSequenceSet sequences)
 {
     _method = method;
     _modelHmm = method;
     _states = method.StateCount;
     _training = sequences;
     _clusters = new Clusters(_states, sequences);
     _done = false;
 }
 public TrainBaumWelchScaled(HiddenMarkovModel hmm,
      IMLSequenceSet training)
     : base(hmm, training)
 {
 }
 protected BaseBaumWelch(HiddenMarkovModel hmm,
                      IMLSequenceSet training)
 {
     _method = hmm;
     _training = training;
 }
 protected BaseBaumWelch(HiddenMarkovModel hmm,
                         IMLSequenceSet training)
 {
     _method   = hmm;
     _training = training;
 }
 public TrainBaumWelch(HiddenMarkovModel hmm,
                       IMLSequenceSet training)
     : base(hmm, training)
 {
 }