Skip to content

Commit a5087bc

Browse files
author
User
committed
update
1 parent db00ac8 commit a5087bc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hmm_class/hmmc_theano.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ def __init__(self, M, K):
2828
self.K = K # number of Gaussians
2929

3030
def fit(self, X, learning_rate=1e-2, max_iter=10):
31-
# train the HMM model using the Baum-Welch algorithm
32-
# a specific instance of the expectation-maximization algorithm
31+
# train the HMM model using gradient descent
3332

3433
N = len(X)
3534
D = X[0].shape[1] # assume each x is organized (T, D)

hmm_class/hmmc_theano2.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ def __init__(self, M, K):
3030
self.K = K # number of Gaussians
3131

3232
def fit(self, X, learning_rate=1e-2, max_iter=10):
33-
# train the HMM model using the Baum-Welch algorithm
34-
# a specific instance of the expectation-maximization algorithm
33+
# train the HMM model using gradient descent
3534

3635
N = len(X)
3736
D = X[0].shape[1] # assume each x is organized (T, D)

0 commit comments

Comments
 (0)