Skip to content

Commit

Permalink
simplify pm.draw description in release-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
danhphan authored and ricardoV94 committed Jan 13, 2022
1 parent 7970c19 commit 620079c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ All of the above apply to:
- ⚠ Theano-PyMC has been replaced with Aesara, so all external references to `theano`, `tt`, and `pymc3.theanof` need to be replaced with `aesara`, `at`, and `pymc.aesaraf` (see [4471](https://github.com/pymc-devs/pymc/pull/4471)).
- `pm.Distribution(...).logp(x)` is now `pm.logp(pm.Distribution(...), x)`.
- `pm.Distribution(...).logcdf(x)` is now `pm.logcdf(pm.Distribution(...), x)`.
- `pm.Distribution(...).random()` is now `pm.Distribution(...).eval()`.
- `pm.draw(...)` is added to draw samples of a variable or a list of variables.
- `pm.draw_values(...)` and `pm.generate_samples(...)` were removed. The tensors can now be evaluated with `pm.draw(x)` instead of `x.eval()`.
- `pm.Distribution(...).random(size=x)` is now `pm.draw(pm.Distribution(...), draws=x)`.
- `pm.draw_values(...)` and `pm.generate_samples(...)` were removed.
- `pm.fast_sample_posterior_predictive` was removed.
- `pm.sample_prior_predictive`, `pm.sample_posterior_predictive` and `pm.sample_posterior_predictive_w` now return an `InferenceData` object by default, instead of a dictionary (see [#5073](https://github.com/pymc-devs/pymc/pull/5073)).
- `pm.sample_prior_predictive` no longer returns transformed variable values by default. Pass them by name in `var_names` if you want to obtain these draws (see [4769](https://github.com/pymc-devs/pymc/pull/4769)).
Expand Down

0 comments on commit 620079c

Please sign in to comment.