-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Bugfix/3301 stan csv reader #3311
Conversation
ready for review. |
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.
This looks good to me!
How do you want to handle the cmdstan failure? It seems like it would be annoying if that CI fails until the new R-Hat etc make it all the way in
have branch of CmdStan queued up here: https://github.com/stan-dev/cmdstan/tree/update/3301-stan-csv-reader |
Submission Checklist
./runTests.py src/test/unit
make cpplint
Summary
Better parsing of Stan CSV files to allow for getting MCMC sample from fixed_param and samples with saved warmup draws (bug #3301) and be able to correctly get ADVI sample.
Intended Effect
Always provide valid sample from parsed
stan_csv
object.How to Verify
Unit tests
Side Effects
Methods to parse segments of the Stan CSV file - header, etc. no longer take argument
out
to record warnings and instead throwstd::invalid_input
errors.Documentation
N/A
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: