-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[ENH] added piecewise_multinomial function to datagen.py #4079
[ENH] added piecewise_multinomial function to datagen.py #4079
Conversation
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.
Just small non-blocking comment. However - may I also request that if you haven't already added yourself as a contributor to sktime that you do so now? :) Cheers!
Thanks @JonathanBechtel 🙌 Overall looks good. I left a few comments that I hope can make the code a bit more robust. |
This should be merge-able once those changes are propagated! :) Happy to take another look then! |
@lmmentel @miraep8 Made the suggested changes, thank you for the tips. To recap:
Thanks again for looking at it. |
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.
LGTM!
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.
Looks great to me as well! Thanks for addressing all the change requests! :) 🎉
Adding piecewise multinomial data generating function.
Reference Issues/PRs
PR #3363
What does this implement/fix? Explain your changes.
In order to complete the unit tests for importing different modules in HMMLearn, additional data generation functions needed to be written for the appropriate modules. This pull requests added a function called
piecewise_multinomial
that generates multinomial data to be used in unit tests.Does your contribution introduce a new dependency? If yes, which one?
No
What should a reviewer concentrate their feedback on?
Making sure the random number generation works in a way that's compatible with the way HMMLearn will ingest it.
PR checklist
For all contributions