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
change the default value of sample in dist_fit()
#389
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.
Thanks, James,
See the note about the warning message.
This needs:
- To be rebased on main
- To be redoc'd
- To have a news item
- To have a dev version increment.
Then good to merge.
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 9279bf8 is merged into main:
|
Last missing task I think is
|
I believe this was done here 58db941. |
That isn't in this PR? |
Once things are ready for review FYI I need to be repinged or I won't notice! |
e3aef2f
to
41ad74f
Compare
This has been addressed in e91568b. |
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.
Nearly there. Just a small formatting issue.
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!
In the current design of
dist_fit()
, the argumentsample
is supplied with a default value ofNULL
, which is checked and replaced with 1000 if it'sNULL
or < 1000. I think that means it should have a default value of 1000 with a check to see if it's < 1000 when the default is overridden with a supplied value.In this PR, I change the default value of
samples
to 1000. If the value ofsamples
is supplied, the function checks ifsamples
is <1000, and if so, sets it to 1000 and throws a warning to inform the user.