https://github.com/pymc-devs/pymc3

sort by:
Revision Author Date Message Commit Date
52f8673 Bump version to 4.1.5. 16 August 2022, 18:56:31 UTC
9883915 Added networkx export functionality (#6046) * Added networkx export functionality Apologies for delay but finally got around to updating the latest version of model_graph.py to include networkx export function as discussed in https://github.com/pymc-devs/pymc/pull/5677 * Update model_graph.py restoring whitespace https://github.com/pymc-devs/pymc/pull/5677#discussion_r841207472 * Corrected cluster(subgraph) behaviour subgraph(cluster) attributes are now stored on each node that is a member of that subgraph(cluster). * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Correcting docstring spacing * Updated to include new function model_to_networkx * linted and checked by pre-commit * added test for model_to_networkx function * added function import * added model_to_networkx * corrected formatting * more linting * Update test_model_graph.py * Update __init__.py * Redid changes * added function to models.rst * corrected indent issue indent issue cause by merge resolution * corrected spelling error * added networkx to requirements * redid pre-commit and ran it twice * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/model_graph.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Removed trailing whitespace Removed trailing whitespace from lines 312, 314, * removing more trailing whitespace Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> Co-authored-by: Joni Pelham <j.g.pelham@cranfield.ac.uk> 15 August 2022, 18:16:09 UTC
906fcdc Updated pymc.simulator docstring (typos, defaults, type description) (#6035) * Updated pymc.simulator docstring (typos, defaults, type description) Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 13 August 2022, 14:45:08 UTC
7a5074e update aeppl dependency to 0.0.34 11 August 2022, 17:40:32 UTC
ef2519f Fix AttributeError in HMC bad initial energy warning (#6037) * Fix AttributeError in HMC bad initial energy warning * Make pre-commit happy 10 August 2022, 19:25:52 UTC
ad16bf4 Removed assert_negative_support function call 08 August 2022, 13:47:19 UTC
75e6be0 Constrain priors with symmetric mass distribution (#5981) * find_constrained_prior now assumes symmetric probability mass above and below upper and lower by default * Fix typo in docstring Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Co-authored-by: Alexandre Andorra <andorra.alexandre@gmail.com> Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 08 August 2022, 13:00:46 UTC
e64942b fix notebook dprint error (#6030) 05 August 2022, 19:59:46 UTC
e2ff875 ⬆️ UPGRADE: Autoupdate pre-commit config (#6008) 05 August 2022, 14:17:39 UTC
a8279d7 Pass user-provided NUTS kwargs to Numpyro (#6021) * refactor: update user supplied NUTS kwargs with defualts for Numpyro sampler * style: fix typehint in `sample_numpyro_nuts` * doc: add missing `initvals` to docstring of `sample_numpyro_nuts` * style: return typehint for `sample_numpyro_nuts` * refactor: change `var_names` typehint from `Iterable` to `Sequence` * test: updating NUTS kwargs for Numpyro sampler function * test: use monkeypatch to determine if custum NUTS kwargs are used * test: replace monkey patch with simpler mocking method 05 August 2022, 08:26:51 UTC
f3ac08b Updating docstrings of distributions (#5998) * updating docstrings of distributions * updating dimentions following matplotlibs convention. also adding pablo as a contributor. Co-authored-by: pibieta <ibieta.pablo@gmail.com> * resolving @oriolabril review with @pibieta Co-authored-by: pibieta <ibieta.pablo@gmail.com> 05 August 2022, 08:24:59 UTC
c93711a issue6004 fixed example in docstring for set_data (#6028) Co-authored-by: Rowan Schaefer <rowanschaefer@Rowans-MacBook-Air.local> 05 August 2022, 02:30:36 UTC
36c5fb9 fixed some docstring spacing around colons (#6027) 05 August 2022, 02:29:56 UTC
307e1c9 Revert "Proposal: Readd 3.7" (#6014) * Revert "Update setup.py" This reverts commit 60e26481696f3b09f5ee818bb578f17109647f95. * Revert "Readd 3.7" This reverts commit b08a2fced1d894aa5872856fccc23fde04fd8411. 04 August 2022, 21:37:54 UTC
b506fec Revert numpy warnings workaround (#6025) * Revert "Workaround to suporess (some) import warnings from NumPy" This has been fixed upstream in Aesara and is therefore no longer necessary. 04 August 2022, 14:09:41 UTC
9f93b3e Typehints and updated docstring for Blackjax NUTS sampling function (#6022) * refactor: typehints for arguments and return of `sample_blackjax_nuts` * doc: style and add `initvals` to `sample_blackjax_nuts` docstring * refactor: change `var_names` from `Iterable` to `Sequence` typehint Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> * style: remove Iterable import Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 03 August 2022, 20:52:12 UTC
18bbcbb Fix problems with specifying target_accept and nuts kwargs (#6018) Fix problem that target_accept is overwritten if nuts kwargs are specified Raise error when target_accept is specified twice; directly and in nuts kwargs Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 02 August 2022, 08:28:07 UTC
c8db06b Fix typos in Docker hub secret names (#6017) Closes #6015 27 July 2022, 12:24:16 UTC
7d960fa Bump version to 4.1.4. 26 July 2022, 16:17:50 UTC
1184b0c Create arrow to observation nodes subject to arbitrary `dtype` casting in `pm.model_to_graphviz` (#6011) * Adding graphviz area for observed nodes with dtype casting * Add unit test for obs dtype casting in ModelGraph * check data container for owner attribute * Adding comments for make_compute_graph pattern matching * Repositioned 'While True' loop to better account for arbitary number of dtype casts * Fix grammar in comment on dtype casting 26 July 2022, 16:16:34 UTC
3361176 Bump aesara to 2.7.9 and aeppl to 0.0.33 26 July 2022, 16:16:03 UTC
7afae2a Fix pm.Interpolated moment 26 July 2022, 15:51:15 UTC
60e2648 Update setup.py 26 July 2022, 08:01:39 UTC
b08a2fc Readd 3.7 26 July 2022, 08:01:39 UTC
73eac98 Bump aesara to 2.7.8. (#5995) * Bump aesara to 2.7.8. * Bump pre-commit aesara. * Ignore mypy typing errors for pymc/util.py * Add safety check for `xarray.Dataset` key types Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 24 July 2022, 22:10:19 UTC
1101818 Move `MLDA` to `pymc-experimental` Closes #5942 Closes #4267 24 July 2022, 16:01:46 UTC
4bd25ae Make mypy script more instructive (#6006) * Remove Aesara PEP 561 enforcement No longer needed since 2.6.0. * Make mypy script outputs more instructuve Closes #5685 24 July 2022, 13:03:03 UTC
a7684d1 contributing, jupyter style; author section more explicit (#6000) * contributing, jupyter style; author section more explicit * jupyter style guide; contributing; make Authors plural 22 July 2022, 22:16:40 UTC
f9e0dfd docs: Fix a few typos (#5988) There are small typos in: - docs/source/contributing/developer_guide.md - docs/source/contributing/jupyter_style.md - pymc/step_methods/hmc/hmc.py - pymc/step_methods/hmc/nuts.py Fixes: - Should read `interpreted` rather than `interpreded`. - Should read `total` rather than `totall`. - Should read `personal` rather than `presonal`. Signed-off-by: Tim Gates <tim.gates@iress.com> 19 July 2022, 13:03:42 UTC
710aee3 Fix docker image build (#5977) * :bug: indent tags * :heavy_minus_sign: remove checkout * :bug: use var in command * :truck: renaming flow * :construction: conf for testing * :white_check_mark: trigger with PR * :truck: rename env var * :construction: commenting for testing * :heavy_plus_sign: add checkout * :rocket: remove testing conf 18 July 2022, 15:43:37 UTC
5c2eb5e ⬆️ UPGRADE: Autoupdate pre-commit config 18 July 2022, 14:50:11 UTC
2a9e86c Fix error when passing `coords` and `dims` in `sampling_jax` (#5983) * Use 'partial' to construct inference data (#5932) * Add test cases for dims & coords * Comment on use of 'partial' * Extend docstring and pass posterior after partial 17 July 2022, 18:07:44 UTC
78da937 Skip tests action if only other actions changed The tests don't need to run if it's just other workflows that are being changed. 17 July 2022, 18:06:18 UTC
87c22c3 Updated docstrings of some distribution classes inside multivariate.py (#5982) * updated docstrings of the first 7 distributions classes Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 17 July 2022, 12:04:29 UTC
2583b7f Bump version to 4.1.3 15 July 2022, 10:34:28 UTC
05e39e1 Remove internal uses of `patternbroadcast` and `unbroadcast` 15 July 2022, 10:33:01 UTC
e25e42d Bump aesara dependency 15 July 2022, 10:33:01 UTC
8e92ac3 Point installation links to new installation guide in docs (#5873) * Point installation links to new installation guide in docs Co-authored-by: Michael Osthege <m.osthege@fz-juelich.de> Co-authored-by: Oriol Abril <oriol.abril.pla@gmail.com> 15 July 2022, 10:08:50 UTC
0380bf4 remove white space 13 July 2022, 16:37:40 UTC
c95c34a Update pymc/func_utils.py 13 July 2022, 16:37:40 UTC
cb60ec0 changed pm.Distribution to Distribution 13 July 2022, 16:37:40 UTC
69429ac Update pymc/func_utils.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 13 July 2022, 16:37:40 UTC
5b51491 Update pymc/func_utils.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 13 July 2022, 16:37:40 UTC
9aa46ac Update pymc/func_utils.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 13 July 2022, 16:37:40 UTC
ed9f0d6 Update pymc/func_utils.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 13 July 2022, 16:37:40 UTC
0e968b8 Update pymc/func_utils.py Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 13 July 2022, 16:37:40 UTC
40964d7 updated docstring for find_constrained_prior 13 July 2022, 16:37:40 UTC
7be9a19 docstring update OrderedProbit, ZeroInflatedBinomial, ZeroInflatedNegativeBinomial as in #5459 13 July 2022, 15:57:02 UTC
b94b8b6 add close-figs context on plot directive in ZeroInflatedPoisson class 13 July 2022, 15:54:36 UTC
b647737 update docstrings in ZeroInflatedPoisson, DiracDelta and OrderedLogistic classes 13 July 2022, 15:54:36 UTC
a9baa42 Correct docs for Bernoulli, Poisson, Negative Binomial, Geometric and HyperGeometric (#5958) * update docs for Bernoulli, Poisson, Negative Binomial, Geometric and add missing plot context in HyperGeometric * correct spacing Co-authored-by: SangamSwadiK <sangamswadiK@users.noreply.github.com> 13 July 2022, 14:41:31 UTC
4ccdf1e correct docstring in BetaBinomial Class (#5957) * update docs for numpydoc compliance * correct spacing Co-authored-by: SangamSwadiK <sangamswadiK@users.noreply.github.com> 13 July 2022, 14:19:52 UTC
32ffaf5 Fix #5954 13 July 2022, 06:53:40 UTC
1e52d43 ⬆️ UPGRADE: Autoupdate pre-commit config 11 July 2022, 19:32:57 UTC
f1140e8 Add docker-image workflow (#5966) * :construction_worker: add docker-image workflow * :white_check_mark: test importing pymc 11 July 2022, 11:59:09 UTC
82d7b0e Updated docstrings to inform users that ODE solution may be slow. (#5965) 10 July 2022, 19:04:46 UTC
fc66057 Deprecate `assert_negative_support` (#5963) 10 July 2022, 13:53:30 UTC
e96cf0a update docstrings in BetaBinomial class 09 July 2022, 15:36:08 UTC
e7d0607 Bump version to 4.1.2. 08 July 2022, 10:56:11 UTC
966aabf Bump Aesara to 2.7.5, aeppl to 0.0.32, update tests for aeppl (#5955) * Bump Aesara to v2.7.5 * Bump aeppl to v0.0.32 * Revert warn_missing_rvs to default value of True See https://github.com/pymc-devs/pymc/pull/5955#issuecomment-1177514485 This adapts to the change in behavior introduced in aesara-devs/aeppl#151. 07 July 2022, 14:39:06 UTC
294ff4a Workaround to suporess (some) import warnings from NumPy Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com> 07 July 2022, 12:34:53 UTC
7fe5164 correct docstrings in Binomial Class (#5952) * correct docstrings to add tensor_like * add close-figs context Co-authored-by: SangamSwadiK <sangamswadiK@users.noreply.github.com> 06 July 2022, 20:03:45 UTC
dfd018e Fix model graph node name to remove RV from end only and not the start 06 July 2022, 19:24:58 UTC
ab40dcc ⬆️ UPGRADE: Autoupdate pre-commit config 05 July 2022, 12:47:58 UTC
58a6a02 include :: in name prefix check (#5951) * include :: in name prefix check ``` import pymc as pm with pm.Model("foo"): print(pm.Normal("foobar"), pm.Normal("baz")) ``` before: `foobar foo::baz` after: `foo::foobar foo::baz` * add a unit test 05 July 2022, 08:35:32 UTC
bc8e8cf Bump version to 4.1.1. 04 July 2022, 15:39:23 UTC
b2393d5 Bump aesara to 2.7.4. 03 July 2022, 22:23:43 UTC
d974861 Bump to `4.1.0` 03 July 2022, 17:28:48 UTC
1d4835a Add `DeprecationWarning` to `MLDA` stepper Also see #5942 03 July 2022, 17:28:48 UTC
8ebb6f0 Default to `pm.Data(mutable=False)` as announced 03 July 2022, 17:28:48 UTC
7fbc38f Add version string to conda install command. Remove jax from blackjax pip install instructions. 03 July 2022, 17:26:46 UTC
c8525eb Update PR template Closes #5926 03 July 2022, 13:54:26 UTC
f8b1be6 Add release notes generation config 03 July 2022, 13:54:26 UTC
5728ad2 implement fix + tests (#5915) 03 July 2022, 10:58:59 UTC
d9197ef Add numpyro install to building docs instructions Fixes #5935 02 July 2022, 11:33:26 UTC
73a5957 Update docs build and contributing instructions (#5938) * Simplify outdated docs build script * Remove Windows docs build script It was completely outdated. Also, building docs on Windows currently fails because `pm.sampling_jax` can't be imported. * Link to contributing page in the docs Closes #5843 02 July 2022, 09:45:01 UTC
f617180 Add `_as_tensor_variable` converter for pandas objects (#5920) * Add pd.Series and pd.DataFrame support * Explicitly add pandas into requirements.txt * Add pd global import in tests Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 30 June 2022, 17:18:38 UTC
a568762 Update conda environment name when running docker with jupyter notebook 29 June 2022, 09:22:35 UTC
f5d3431 Remove `nan_to_num` and `nan_to_high` from `find_MAP`. These functions appear to have been added due to poor handling of NaN in `scipy.optimize.minimize` for pre-1.4 versions of `scipy`. The most commonly used SciPy optimizers, including 'L-BFGS-B', were updated to handle this years ago, and it appears that these limiters are now actively harmful, since they produce extra discontinuities in the function and Jacobian passed to `minimize`. 27 June 2022, 08:36:35 UTC
be048a4 Correct the order of `rvs` sent to `compile_dlogp` in `find_MAP` (#5923) 26 June 2022, 05:16:53 UTC
729f79c Review docstrings checkmarcked as best practice (#5919) 23 June 2022, 17:14:31 UTC
0b4f248 Drop Python 3.7 and start testing on 3.10 Tests were redistributed between Python versions such that all of 3.8, 3.9, 3.10 are covered. The exact `mkl-service` version was unpinned and `mkl` was removed because the combination of pinned versions didn't support Python 3.10. The `mkl` package is already a dependency of `mkl-service` and because `mkl-service` specifies tight version limits for `mkl`, we shouldn't pin it ourselves. Closes #5209 22 June 2022, 14:30:15 UTC
1ce7799 Use CACHE_NUMBER in Cache multiple paths as advertised in comment 22 June 2022, 14:30:15 UTC
ebb1f0e Fix python-version typo in tests.yml 22 June 2022, 14:30:15 UTC
0cdd229 Accommodate feedback and add small section on observed variables Other changes: * Seed draws * Give more succinct tittle to last section * Fix directives 21 June 2022, 17:51:59 UTC
d4e7d6b Update and remove size discussion 21 June 2022, 17:51:59 UTC
54352a0 Expand dimensionality notebook 21 June 2022, 17:51:59 UTC
c492f64 remove references to local_rvs 21 June 2022, 17:51:45 UTC
367bdd6 fix the docstring and args 1. 21 June 2022, 17:51:45 UTC
c120b02 Small improvements to early nuts behaviour (#5824) * Use all leapfrog steps for acceptance rate * Only count positive energy errors as divergence * Copy momentum sum to be sure 21 June 2022, 08:14:43 UTC
f602486 Install sphinx-design via conda 20 June 2022, 21:21:44 UTC
6a248e5 Get rid of python-version specific conda dev environments 20 June 2022, 21:21:44 UTC
de4a08c Get rid of python-version specific conda test environments 20 June 2022, 21:21:44 UTC
027f827 ⬆️ UPGRADE: Autoupdate pre-commit config 20 June 2022, 18:23:10 UTC
f5f964d ⬆️ UPGRADE: Autoupdate pre-commit config 20 June 2022, 18:23:10 UTC
121a5ae Remove reference to old parameters in SMC docstring (#5914) Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 20 June 2022, 15:32:18 UTC
c180ae3 Bump for `4.0.1` release 20 June 2022, 12:48:23 UTC
72ea746 Update passing mypy file 20 June 2022, 12:19:47 UTC
3e6949c Update Aesara dependency to 2.7.3 20 June 2022, 12:19:47 UTC
403f2d5 Add constant_data into sample_numpyro_nuts() (#5807) Add constant_data into sample_numpyro_nuts() Co-authored-by: Michael Osthege <m.osthege@fz-juelich.de> 20 June 2022, 11:58:12 UTC
back to top