How to use the hmmlearn.hmm.MultinomialHMM.__init__ function in hmmlearn

To help you get started, we’ve selected a few hmmlearn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mil-tokyo / NeuralMelody / chord_sequence_generation.py View on Github external
def __init__(self, n_components=1,
                 startprob_prior=1.0, transmat_prior=1.0,
                 algorithm="viterbi", random_state=None,
                 n_iter=10, tol=1e-2, verbose=False,
                 params="ste", init_params="ste"):
        MultinomialHMM.__init__(self, n_components=n_components,
                 startprob_prior=startprob_prior, transmat_prior=transmat_prior,
                 algorithm=algorithm, random_state=random_state,
                 n_iter=n_iter, tol=tol, verbose=verbose,
                 params=params, init_params=init_params)
        return