-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Sample vp for Approximations, deprecate old ADVI #2027
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
Merged
+552
−198
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7b5d570
add sample_vp, deprecate old ADVI
ferrine 31e524d
found typo
ferrine ea1cd82
fix docs
ferrine f952cdd
add sample_vp to __init__
ferrine b9d0a03
typo
ferrine 35afe54
refactor init nuts, and needed stuff
ferrine 5c4edd5
refactor sampling
ferrine 5e12767
typo
ferrine 2b4442d
unused import
ferrine ac715bf
rename sample_approx
ferrine 67fe071
unused import
ferrine e9ce599
allow seed kwarg
ferrine 21c1615
add docks, additional callbacks
ferrine d493caa
change callback
ferrine d4fd914
fix typo
ferrine ce70f4a
check nan
ferrine 5e5756a
refactor callback
ferrine 9c61bf2
fix pylint, good catch
ferrine daa9ee0
Histogram -> Empirical (API change!)
ferrine 8b23218
refactor boilerplate Inference
ferrine 3e6311e
refactor callback
ferrine c7e0f40
add progressbar supprot for init_nuts
ferrine 5e750e7
launch tt_rng before return
ferrine f62fd25
Docs
ferrine 1d549f6
add Inference to api reference
ferrine bc56865
fix typo in doc
ferrine e808939
make approximation docs more verbose
ferrine 8f99a2c
fix typos
ferrine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
***** | ||
**** | ||
Data | ||
***** | ||
**** | ||
|
||
.. currentmodule:: pymc3.data | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm getting meaningful differences with this change on this model: http://twiecki.github.io/blog/2017/03/14/random-walk-deep-net/
It does not abort when converged and sampling from this initialization is very slow.
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.
Do you see any way of improvement?
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.
@twiecki I was suggested to try running minimum stopping criteria. Interesting to see how it will affect performance