Skip to content

Commit

Permalink
Trac #11609: trac 11609 -- fix some minor typos in the *documentation…
Browse files Browse the repository at this point in the history
…* of Hidden Markov Models
  • Loading branch information
williamstein committed Jul 18, 2011
1 parent 4896976 commit e749bad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/sage/stats/hmm/chmm.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ cdef class GaussianHiddenMarkovModel(HiddenMarkovModel):
- max_iter -- integer (default: 500) maximum number
of Baum-Welch steps to take
- log_likehood_cutoff -- positive float (default: 1e-4);
- log_likelihood_cutoff -- positive float (default: 1e-4);
the minimal improvement in likelihood with respect to
the last iteration required to continue. Relative value
to log likelihood.
Expand Down Expand Up @@ -969,7 +969,9 @@ cdef class GaussianMixtureHiddenMarkovModel(GaussianHiddenMarkovModel):
- ``A`` -- matrix; the N x N transition matrix
- ``B`` -- list of pairs (mu,sigma) that define the distributions
- ``B`` -- list of mixture definitions for each state. Each
state may have a varying number of gaussians with selection
probabilities that sum to 1 and encoded as (p,(mu,sigma))
- ``pi`` -- initial state probabilities
Expand Down Expand Up @@ -1265,7 +1267,7 @@ cdef class GaussianMixtureHiddenMarkovModel(GaussianHiddenMarkovModel):
- obs -- a time series of emissions
- max_iter -- integer (default: 1000) maximum number
of Baum-Welch steps to take
- log_likehood_cutoff -- positive float (default: 1e-12);
- log_likelihood_cutoff -- positive float (default: 1e-12);
the minimal improvement in likelihood with respect to
the last iteration required to continue. Relative value
to log likelihood.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/stats/hmm/hmm.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ cdef class DiscreteHiddenMarkovModel(HiddenMarkovModel):
- ``max_iter`` -- integer (default: 100) maximum number
of Baum-Welch steps to take
- ``log_likehood_cutoff`` -- positive float (default: 1e-4);
- ``log_likelihood_cutoff`` -- positive float (default: 1e-4);
the minimal improvement in likelihood with respect to
the last iteration required to continue. Relative value
to log likelihood.
Expand Down

0 comments on commit e749bad

Please sign in to comment.