You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow specification of dims instead of shape (#3551)
* Allow specification of dims instead of shape
* Add pm.TidyData
* Create coords for pm.Data(ndarray)
* empty commit to trigger CI
* Apply suggestions from code review
Co-authored-by: Alexandre ANDORRA <[email protected]>
* apply black formatting
* address review comments & formatting
* Add demonstration of named coordinates/dims
* don't require dim names to be identifiers
* sort imports
* raise ShapeError instead of ValueError
* formatting
* robustify Dtype and ShapeError
* Removed TidyData and refined dims and coords implementation
* Changed name of kwarg export_dims and improved docstrings
* Add link to ArviZ in docstrings
* Removed TidyData from __all__
* Polished Data container NB
* Fixed line break in data.py
* Fix inference of coords for dataframes
* Refined Data container NB
* Updated getting started NB with new dims and coords features
* Reran getting started NB
* Blackified NBs
* rerun with ArviZ branch
* use np.shape to be compatible with tuples/lists
* add tests for named coordinate handling
* Extended tests for data container
Co-authored-by: Michael Osthege <[email protected]>
Co-authored-by: Michael Osthege <[email protected]>
Co-authored-by: Alexandre ANDORRA <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE-NOTES.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
-`pm.LKJCholeskyCov` now automatically computes and returns the unpacked Cholesky decomposition, the correlations and the standard deviations of the covariance matrix (see [#3881](https://github.com/pymc-devs/pymc3/pull/3881)).
18
18
-`pm.Data` container can now be used for index variables, i.e with integer data and not only floats (issue [#3813](https://github.com/pymc-devs/pymc3/issues/3813), fixed by [#3925](https://github.com/pymc-devs/pymc3/pull/3925)).
19
19
-`pm.Data` container can now be used as input for other random variables (issue [#3842](https://github.com/pymc-devs/pymc3/issues/3842), fixed by [#3925](https://github.com/pymc-devs/pymc3/pull/3925)).
20
+
- Allow users to specify coordinates and dimension names instead of numerical shapes when specifying a model. This makes interoperability with ArviZ easier. ([see #3551](https://github.com/pymc-devs/pymc3/pull/3551))
20
21
- Plots and Stats API sections now link to ArviZ documentation [#3927](https://github.com/pymc-devs/pymc3/pull/3927)
21
22
- Add `SamplerReport` with properties `n_draws`, `t_sampling` and `n_tune` to SMC. `n_tune` is always 0 [#3931](https://github.com/pymc-devs/pymc3/issues/3931).
22
23
- SMC-ABC: add option to define summary statistics, allow to sample from more complex models, remove redundant distances [#3940](https://github.com/pymc-devs/pymc3/issues/3940)
0 commit comments