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

Feature Enhancement: auto save posterior summaries #46

Closed
itsdfish opened this issue Jul 28, 2017 · 7 comments
Closed

Feature Enhancement: auto save posterior summaries #46

itsdfish opened this issue Jul 28, 2017 · 7 comments

Comments

@itsdfish
Copy link

Hi Rob-
Perhaps there is already a solution, but I could not figure out how to save either the Stan or Mamba posterior summaries. In either case, I was thinking it might be convenient to automatically save that along with the data and posterior sample files.

@goedman
Copy link
Collaborator

goedman commented Jul 28, 2017 via email

@itsdfish
Copy link
Author

Indeed, I have found myself in that very situation. Thanks for adding that feature.

Best regards,

Chris

@goedman
Copy link
Collaborator

goedman commented Aug 10, 2017

Hi Chris, haven't forgotten your request.

Turns out Mamba has build-in features for writing the output to a file (http://mambajl.readthedocs.io/en/latest/tutorial.html?highlight=write#file-i-o).

In Stan.jl I receive the CmdStan summary as a String, I need to add a function to store that string to a file in the /tmp directory.

As a result of our trip this summer, we have decided to move (after 27 years CA!) to live part time in CO and part time in DC. This will definitely take many cycles, so I apologize in advance if I'm slow in responding until at least October.

@itsdfish
Copy link
Author

Hi Rob-
Thanks for the update and no worries. It looks like the Mamba feature will hold me over.

Good luck with your new homes and have a safe trip!

@goedman
Copy link
Collaborator

goedman commented Apr 22, 2018

I will close this issue for now in the hope the Mamba feature will suffice.

My plan is to refactor Stan.jl (over the next year) for Julia 1.0. During the refactor I will keep this request in mind.

@goedman goedman closed this as completed Apr 22, 2018
@itsdfish
Copy link
Author

Hi Rob-

I think Mamba suffices for the most part. The only downside is that it seems to compute some diagnostics differently from Stan. So a person may not be able to reproduce certain results from Python or R, but its not a huge deal. I would say consider including this feature if the solution is simple. Otherwise, no worries.

@goedman
Copy link
Collaborator

goedman commented Apr 23, 2018 via email

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

No branches or pull requests

2 participants