| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ChordClassBaumWelchTrainer
Class with methods to retrain a chordclass model using the Baum-Welch EM algorithm.
Module options must be processed already - we do that in the ChordClassTaggerModel, not here.
To Do: Inherit from the jazzparser.utils.nltk.ngram.baumwelch.BaumWelchTrainer. Currently, the generic trainer duplicates a lot of this code, since it was based on it.
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
OPTIONS = [ModuleOption('max_iterations', filter= int, help_te
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Performs unsupervised training using Baum-Welch EM. This is performed on a model that has already been initialized. You might, for example, create such a model using jazzparser.taggers.segmidi.chordclass.hmm.ChordClassHmm.initialize_chord_classes. This is based on the training procedure in NLTK for HMMs:
|
|
|||
OPTIONS
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:58 2012 | http://epydoc.sourceforge.net |