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

Add multiplier for adaptation window sizes #3705

Merged
merged 8 commits into from
Dec 4, 2019

Conversation

eigenfoo
Copy link
Member

@eigenfoo eigenfoo commented Dec 4, 2019

Following up from #3596, it would be nice to allow the user to specify the tuning scheduling via a multiplier: each window will be successively larger so that we get better and better estimates for the mass matrix.

To avoid changing any behavior, the default value for this is 1 (although I can imagine that this may be a very bad idea for dense mass matrices? Thoughts?)

@codecov
Copy link

codecov bot commented Dec 4, 2019

Codecov Report

Merging #3705 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3705   +/-   ##
=======================================
  Coverage   89.94%   89.94%           
=======================================
  Files         134      134           
  Lines       20430    20430           
=======================================
  Hits        18375    18375           
  Misses       2055     2055
Impacted Files Coverage Δ
pymc3/tests/test_quadpotential.py 95.45% <100%> (ø) ⬆️
pymc3/step_methods/hmc/quadpotential.py 73.75% <100%> (ø) ⬆️
pymc3/distributions/distribution.py 94.95% <0%> (-0.3%) ⬇️
pymc3/step_methods/metropolis.py 87.81% <0%> (+0.31%) ⬆️

Copy link
Member

@ColCarroll ColCarroll left a comment

Choose a reason for hiding this comment

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

lgtm when tests pass!

@eigenfoo eigenfoo merged commit 84a7902 into master Dec 4, 2019
@eigenfoo eigenfoo deleted the adaptation-window-multipliers branch December 4, 2019 17:59
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

3 participants