stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.6k stars 370 forks source link

Feature/3247 json metric type - add field "metric_type" to metric.json file #3248

Closed mitzimorris closed 11 months ago

mitzimorris commented 11 months ago

Submission Checklist

Summary

Add field "metric_type" with values "diag_e", "dense_e", and "unit_e" to json metric file.

Intended Effect

Make it easier to restart sampler - always specify metric type.

How to Verify

Unit tests will be added to CmdStan's tests of this feature once this PR is merged.

Side Effects

N/A

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:

mitzimorris commented 11 months ago

changes made; ready for re-review