-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
Fixes to HMM docstrings #2525
Conversation
looks good. thanks +1 |
---------- | ||
obs : list | ||
List of array-like observation sequences, each of which | ||
has shape (n, n_features) |
There was a problem hiding this comment.
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."
Apart from the nitpick on the shape doc, +1 for merging as well. |
@ogrisel: done. I also standardized docstrings for the functions that take a single observation sequence. |
This looks good. Thank you; Merging. |
As pointed out in #1817, many of the
params
andinit_params
docstrings were specific to the correct subclass, and some options were not documented. Also, thefit()
docstring of BaseHMM that was being inherited in some of the subclass had information specific toGaussianHMM
.