Home Original page

TrainingAlgorithm (biojava-legacy 1.9.5 API)

  • All Known Implementing Classes:
    AbstractTrainer, BaumWelchSampler, BaumWelchTrainer

    public interface TrainingAlgorithm
    Author:
    Matthew Pocock, Thomas Down
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getCurrentScore()  
      int getCycle()  
      DP getDP()  
      double getLastScore()  
      void train​(SequenceDB db, double nullWeight, StoppingCriteria stopper)

      Trains the sequences in db untill stopper says to finnish.

    • Method Detail

      • getDP

        DP getDP()
      • getLastScore

        double getLastScore()
      • getCurrentScore

        double getCurrentScore()
      • getCycle

        int getCycle()
      • train

        void train​(SequenceDB db,
                   double nullWeight,
                   StoppingCriteria stopper)
            throws IllegalSymbolException,
                   BioException

        Trains the sequences in db untill stopper says to finnish.

        Throws:
        IllegalSymbolException
        BioException