Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/stats/hmm/all.py
4079 views
1
#############################################################################
2
# Copyright (C) 2010 William Stein <[email protected]>
3
# Distributed under the terms of the GNU General Public License (GPL), v2+.
4
# The full text of the GPL is available at:
5
# http://www.gnu.org/licenses/
6
#############################################################################
7
8
# We lazy_import the following modules since they import numpy which slows down sage startup
9
from sage.misc.lazy_import import lazy_import
10
lazy_import("sage.stats.hmm.hmm", ["DiscreteHiddenMarkovModel"])
11
lazy_import("sage.stats.hmm.chmm", ["GaussianHiddenMarkovModel","GaussianMixtureHiddenMarkovModel"])
12
lazy_import("sage.stats.hmm.distributions", ["GaussianMixtureDistribution"])
13
14