-
Notifications
You must be signed in to change notification settings - Fork 82
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
New Continuous Process: Mixed Poisson #7
Comments
I saw your PR for this process but I think it might be simpler to just subclass PoissonProcess and make use of the already existing code. Additionally, you would need to
|
Following your comments and suggestions, I have implemented changes:
Still to be implemented is:
Is the pull request in a more acceptable state? |
This is ok but there are still a lot of issues that need to be addressed. I think I might merge this into a separate dev branch and clean it up if you don't mind. I'm hoping that maybe you'll track the changes closely and if needed I can explain the reasoning for them. Is that ok? |
This sounds marvelous. When it is up to scratch, I will use it as a template for my future pull requests. Thank you very much! |
I requested some changes in the PR. Please address them. Thanks. |
All changes were addressed. If this makes this feature acceptable, I will get to upgrading other features also. |
This continuous stochastic process generates points distributed according to a rate generated from an arbitrary random distribution. I refer to the random distribution used to generate this rate is known as the information distribution.
The user would need to supply a random distribution in its parameters upon first call (numpy functions such as numpy.random.uniform). Then, a rate would be generated upon initialization. Upon each call of the sample method, a new random rate would be generated using the information distribution.
Since this is a Poisson Process, the suggested MixedPoissonProcess class is very similar to the PoissonProcess class. Additionnal methods are setters and getters for the information process and parameters. Upon each call of the setters, a new rate is generated. Another additional method is the genrate method, which generates a new random rate using the previously supplied information distribution and parameters.
The text was updated successfully, but these errors were encountered: