Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit f9c1057

Browse files
committed
markov_chain.py
1 parent 140ae6f commit f9c1057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markov_chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def train_hmm():
273273
HMM for sequence learning.
274274
"""
275275
print "Loading training data..."
276-
train_sequence, input_len1 = get_sequence("./train_data/*")
276+
train_sequence, num_classes = get_sequence("./train_data/*")
277277

278278
print "Build HMM..."
279279
model = MultinomialHMM(n_components=2)

0 commit comments

Comments
 (0)