Skip to content

Fixes to HMM docstrings #2525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2013
Merged

Fixes to HMM docstrings #2525

merged 2 commits into from
Oct 17, 2013

Conversation

rmcgibbo
Copy link
Contributor

As pointed out in #1817, many of the params and init_params docstrings were specific to the correct subclass, and some options were not documented. Also, the fit() docstring of BaseHMM that was being inherited in some of the subclass had information specific to GaussianHMM.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 3294ec5 on rmcgibbo:hmmfix2 into a2580d6 on scikit-learn:master.

@jaquesgrobler
Copy link
Member

looks good. thanks +1

----------
obs : list
List of array-like observation sequences, each of which
has shape (n, n_features)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather say: "has shape (n_i, n_features) where n_i is the length of the i_th observation."

@ogrisel
Copy link
Member

ogrisel commented Oct 16, 2013

Apart from the nitpick on the shape doc, +1 for merging as well.

@rmcgibbo
Copy link
Contributor Author

@ogrisel: done. I also standardized docstrings for the functions that take a single observation sequence.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling a99ed56 on rmcgibbo:hmmfix2 into a2580d6 on scikit-learn:master.

@GaelVaroquaux
Copy link
Member

This looks good. Thank you; Merging.

GaelVaroquaux added a commit that referenced this pull request Oct 17, 2013
@GaelVaroquaux GaelVaroquaux merged commit c9a10b7 into scikit-learn:master Oct 17, 2013
@rmcgibbo rmcgibbo deleted the hmmfix2 branch October 17, 2013 05:22
@ogrisel ogrisel mentioned this pull request Oct 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants