Skip to content
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

added truncated normal distribution #37

Closed
wants to merge 6 commits into from

Conversation

grburgess
Copy link
Contributor

No description provided.



# noinspection PyPep8Naming
def evaluate(self, x, F, mu, sigma, lower_bound, upper_bound):
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for this addition!

Is this faster than using scipy.stats.truncnorm?

https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.truncnorm.html

@grburgess
Copy link
Contributor Author

grburgess commented Mar 12, 2017 via email

@grburgess
Copy link
Contributor Author

@giacomov yes, it is a few microseconds faster on average :)

@grburgess grburgess closed this Mar 31, 2017
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.

None yet

2 participants