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

Change draws and tune defaults to 1000 in pm.sample #3855

Merged
merged 4 commits into from
Mar 30, 2020

Conversation

AlexAndorra
Copy link
Contributor

As discussed in #3854, this PR proposes to change defaults values of draws and tune in pm.sample to 1000 and 2000 respectively -- both are currently at 500.
I also cleaned some PEP8 typos in sampling.py.
Happy to make deeper changes if needed, and thanks in advance for the reviews ✌️

@codecov
Copy link

codecov bot commented Mar 26, 2020

Codecov Report

Merging #3855 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3855      +/-   ##
==========================================
- Coverage   90.75%   90.72%   -0.04%     
==========================================
  Files         135      135              
  Lines       21184    21190       +6     
==========================================
- Hits        19226    19224       -2     
- Misses       1958     1966       +8     
Impacted Files Coverage Δ
pymc3/sampling.py 84.62% <100.00%> (-0.55%) ⬇️
pymc3/backends/report.py 90.62% <0.00%> (-2.35%) ⬇️
pymc3/model.py 89.33% <0.00%> (+0.01%) ⬆️

@ericmjl
Copy link
Member

ericmjl commented Mar 26, 2020

I’m not sure I can think of any tests that are relevant here, but the change seems big enough that I think one of @fonnesbeck or @twiecki should chime in before merging.

Copy link
Member

@twiecki twiecki left a comment

Choose a reason for hiding this comment

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

Ongoing discussions in attached issue.

@AlexAndorra AlexAndorra changed the title Change draws and tune defaults to 1000 and 2000 in pm.sample Change draws and tune defaults to 1000 in pm.sample Mar 29, 2020
@AlexAndorra AlexAndorra requested a review from twiecki March 29, 2020 13:40
@ColCarroll
Copy link
Member

LGTM. Will wait for Thomas, though.

@twiecki
Copy link
Member

twiecki commented Mar 30, 2020

Need a note in release-notes.

@AlexAndorra
Copy link
Contributor Author

Done

RELEASE-NOTES.md Outdated Show resolved Hide resolved
@twiecki twiecki merged commit 5a7680f into pymc-devs:master Mar 30, 2020
@twiecki
Copy link
Member

twiecki commented Mar 30, 2020

Thanks for taking the initiative @AlexAndorra!

@AlexAndorra AlexAndorra deleted the sampling-defaults branch May 13, 2020 17:19
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.

4 participants