Releases: stan-dev/cmdstanpy
Releases · stan-dev/cmdstanpy
CmdStanPy 1.0.5
CmdStanPy 1.0.5
- Fixed a typo in
cmdstanpy.show_versions()
- Reorganized and updated the documentation
- Reorganized a lot of internal code
- Cleaned up the output of
CmdStanMCMC.draws_pd
- Cleaned up the output of
CmdStanMCMC.summary
- Removed the logging which occurred when Python exited with cmdstanpy imported.
CmdStanPy 1.0.4
CmdStanPy 1.0.4
- Fix an issue with the
cmdstanpy.install_cmdstan()
function where the installation would report that it had failed even when it had not.
CmdStanPy 1.0.3
CmdStanPy 1.0.3
- Fix an issue where Stan fit objects were not
pickle
-able when they previously were.
Note: We still do not recommend pickling cmdstanpy objects, but rather using functionssave_csvfiles
andfrom_csv
.
CmdStanPy 1.0.2
CmdStanPy 1.0.2
- CmdStanPy can now format (and canonicalize) your Stan files with
CmdStanModel.format()
- Stan variables can now be accessed from fit objects using the
.
syntax when no naming conflicts occur. For example, previous codefit.stan_variable("my_cool_variable")
can now be writtenfit.my_cool_variable
- CmdStanPy is more robust to running in threaded environments and tries harder to not overwrite its own output files
- The
install_cmdstan
script can now be run in interactive mode using--interactive
/-i
- CmdStanPy now computes some diagnostics after running HMC and will warn you about post-warmup divergences and treedepth exceptions
- Runtime exceptions in the
generated quantities
block should be recognized better now. - The default level of precision to
fit.summary()
is now 6, as it is whenstansummary
is used from the command line.\ - Various documentation improvements
CmdStanPy 1.0.1
CmdStanPy 1.0.1
- Support new optimizations in CmdStan 2.29
- Support complex numbers as both inputs and outputs of Stan programs
- Sped up assembling output by only reading draws at most once
- Fixed an issue where a command failing could change your working directory
- Improve error messages in some cases
- CmdStanPy no longer changes the global root logging level
Note: The minimum supported version for CmdStanPy is now Python 3.7.
CmdStanPy 1.0.0
After almost 2 years in the beta barrel, we’re proud to release CmdStanPy 1.0. Many thanks to all of our contributors, as well as to all users who’ve submitted feature requests and bug reports!
CmdStanPy provides access to the Stan compiler, inference algorithms, and diagnostics. It supports both development and production workflows and is well-suited for teaching and learning Stan.
Why use CmdStanPy for your next project?
- Use new features: CmdStanPy runs with the latest CmdStan (or any version of CmdStan, including develop)
- Ease of installation: CmdStanPy can automatically install CmdStan and the underlying C++ toolchain.
- Scalable: can fit big models and big datasets – if CmdStan can fit a model and dataset, so can CmdStanPy.
- Cross-platform: runs on Linux, macOS, and Windows.
- Non-restrictive BSD-3 license
Documentation for the latest release is at https://mc-stan.org/cmdstanpy
and documentation for older versions can be found on https://cmdstanpy.readthedocs.io/.