-
Notifications
You must be signed in to change notification settings - Fork 227
Add MLE/MAP functionality #1230
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
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5f24ae3
Add Optim dependency
cpfiffer f8edbab
Export MLE/MAP
cpfiffer 7f6a03b
Fix stupid _params_to_array behavior
cpfiffer d682d9b
Add MLE/MAP
cpfiffer 3611719
Update src/modes/ModeEstimation.jl
cpfiffer 43b1cc8
Merge branch 'master' into csp/modes
cpfiffer 40c80db
Change optimizer.
cpfiffer 23a36bc
Merge branch 'master' into csp/modes
cpfiffer 2ba1c81
Match csp/hessian-bug
cpfiffer fd4a4de
Merge branch 'master' into csp/modes
cpfiffer dc0dd1c
Addressing comments, fixing bugs, adding tests
cpfiffer dca46e8
Removed extraneous model call
cpfiffer e616eb8
Add docstringsd
cpfiffer f9fa51f
Update src/modes/ModeEstimation.jl
cpfiffer 3fc51d9
Minor corrections.
cpfiffer 3e8c64c
Merge branch 'csp/modes' of github.com:TuringLang/Turing.jl into csp/…
cpfiffer b1a4861
Add NamedArrays to extras and compat
cpfiffer 4373c88
Fix dependencies
cpfiffer 0a769b7
Update tests & address comments
cpfiffer e660fb5
Correct Project.toml
cpfiffer 4fc1d73
Correct imports
cpfiffer cb56cd2
Renaming invlink
cpfiffer fab5b2d
Address comments
cpfiffer 1f2e8cb
Remove Optim from compat
cpfiffer d97f2dc
Minor correction
cpfiffer 16bbdf6
Update src/modes/ModeEstimation.jl
cpfiffer 403ddcd
Update src/modes/ModeEstimation.jl
cpfiffer 58fd2cf
Update src/modes/ModeEstimation.jl
cpfiffer 3eb5251
Use getval
cpfiffer a8b9869
Merge branch 'csp/modes' of github.com:TuringLang/Turing.jl into csp/…
cpfiffer 0809329
Update src/modes/ModeEstimation.jl
cpfiffer 065bc18
Tidying, fixing tests
cpfiffer e652e00
Merge branch 'csp/modes' of github.com:TuringLang/Turing.jl into csp/…
cpfiffer 1e5aea8
Replaced >= with >, because I am a fool
cpfiffer 199c00c
Use function notation for .~
cpfiffer bd0c1bb
Link the model vi after extracting optimized vals
cpfiffer 05ae0d4
Make sure linking status is right for Hessian
cpfiffer 345776c
Update src/Turing.jl
cpfiffer a2b159c
Update src/modes/ModeEstimation.jl
cpfiffer 856f282
Changer NamedArrays to dependency
cpfiffer 8cd87aa
Add warning if no convergence occurred, adapt to DynamicPPL master
cpfiffer 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
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.
Just noticed: users will have problems if they load Optim but not NamedArrays. We should add a nested
@require
block that checks for NamedArrays if we want to keep it optional (which I guess we want). Otherwise one could think about returning a named tuple as default and just provide some optional way for converting it to a NamedArray.