stan-dev / cmdstanpy

CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.
BSD 3-Clause "New" or "Revised" License
151 stars 69 forks source link

Extract format functionality from Model class #740

Closed WardBrian closed 6 months ago

WardBrian commented 6 months ago

Submission Checklist

Summary

Closes #739 by providing a function outside the model class which allows for calling the formatter.

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):

Simons Foundation

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: