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

sort by:
Revision Author Date Message Commit Date
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
45a816e Align conda envs and add Windows 3.9 env (#5895) * Remove conda sorter from `pre-commit` config 20 June 2022, 10:59:44 UTC
7cc24bc Docstring formatting and type hints 20 June 2022, 10:14:21 UTC
e6537e4 Relocate `PointFunc` definition for nicer type hints 20 June 2022, 10:14:21 UTC
a4ace35 Fixing keyword args in top-level pm.compile_fn `Model.compile_fn` requires all parameters except `outs` to be keyword arguments so the top level `compile_fn` didn't work as written. 20 June 2022, 10:14:21 UTC
e58c0e6 refactor sampling_jax postrocessing to avoid jit (#5908) Refactor sampling_jax postrocessing to avoid JIT and multiple function definitions Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 20 June 2022, 09:40:32 UTC
0ba47b5 Update dockerfile to PyMC v4 (#5881) * rename and update build docker container * add a script for running docker container from bash * update running docker container from juppyter notebook * simplify into one bash script * remove root user from Dockerfile * remove obsolete scripts * update documents on running PyMC in Docker 18 June 2022, 09:32:00 UTC
f9b749b Rename pm.Constant to pm.DiracDelta (#5903) 18 June 2022, 07:58:44 UTC
66215ac Disable dark mode in docs (#5904) 17 June 2022, 16:42:16 UTC
3bf95ce Specify owner value in GenTensorVariable This is to avoid issues in upcoming Aesara releases that require the argument. 17 June 2022, 10:33:25 UTC
6bcbe29 Update clone_replace strict keyword name 17 June 2022, 10:33:25 UTC
282e516 Update Aesara to 2.7.2 17 June 2022, 10:33:25 UTC
d7b5153 Add jupyter-sphinx dependency to dev environments Closes #5845 17 June 2022, 10:23:20 UTC
6e6865b Run black on core notebooks 17 June 2022, 10:23:20 UTC
a886030 Override notebook kernel when building the docs Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 17 June 2022, 10:23:20 UTC
562be37 Convert `rng_seeder` to `random_seed` in 'Prior and Posterior Predictive Checks' notebook (#5896) * Convert `rng_seeder` to `random_seed` * Pass rng directly to random_seed * Use `MutableData` instead of `Data` 14 June 2022, 18:51:46 UTC
ce07e70 Remove self-directing arrow in observed nodes 14 June 2022, 11:27:00 UTC
5d003dc Remove t suffix from Model methods (#5863) * Future warning for logpt * Future warning for dlogpt and d2logpt * Updated references to logpt, and updated varlogpt, datalogpt, joint_logpt * Fix issue with d2logpt * Added tests * Fix typo * Updated release notes for 4.0 * Added potentiallogpt test * Updated developer guide * Update pymc/distributions/logprob.py Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> * Removed t from varlogp_nojact * Revert Release Notes * Revert changes to developer guide * Future warning for logpt * Future warning for dlogpt and d2logpt * Updated references to logpt, and updated varlogpt, datalogpt, joint_logpt * Fix issue with d2logpt * Added tests * Fix typo * Updated release notes for 4.0 * Added potentiallogpt test * Update pymc/distributions/logprob.py Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> * Removed t from varlogp_nojact * Revert Release Notes * Updated release notes for 4.0 * Revert Release Notes * Added deprecation of functions/properties ending with t to release notes * Update RELEASE-NOTES.md Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> 14 June 2022, 08:49:19 UTC
a5f3e45 Cast rounded input replacement to original discrete dtype in sample_smc 13 June 2022, 16:30:20 UTC
fb3e65f Add sample_stats to Slice sampler 13 June 2022, 16:11:50 UTC
6f61f1c Test steps stats_dtypes Related to #5883 13 June 2022, 16:11:50 UTC
09d9d73 Remove unused variable in NDArray.setup 13 June 2022, 16:11:50 UTC
338ec15 explicit error about empirical approx (#5874) * explicit error about empirical approx * fix an error message * Write more detailed error message Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 12 June 2022, 18:44:09 UTC
78b1f17 Align advertised `Metropolis` `stats_dtypes` with changes from 1e7d91f 12 June 2022, 12:45:59 UTC
3f2afb2 Update dev guide (#5810) * Write instructions on running the test suite * Add troubleshooting tips on pre-commit * Update guide on implementing new distributions * Update dev guide introduction * Reformat developer guide as Markdown with one sentence per line * Replace internal links * Fix class links * Orphanize dev guid and resolve merge conflicts * Update versioning explanation Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 11 June 2022, 17:59:11 UTC
ab05d44 docs: Fix Examples link in README (#5860) Signed-off-by: Ryan Russell <git@ryanrussell.org> 10 June 2022, 19:13:28 UTC
bfe9f33 Moved wiki install guides into installation.md directly (#5869) * Moved wiki install guides into installation.d directly * Platform agnostic install instructions; removed PyMC3 instructions * Tweaks to text * Attempt to fix pre-commit failure 08 June 2022, 20:36:31 UTC
da1f63b [DOC] PyMC, Aesara and Aeppl intro notebook (#5721) * add raw version of the notebook * first section on aesara * random variables section * update * prune notebook * add intro section and simple examples * rename nb and add section on intro aesara graphs * add random samples section * improve notation * clean notebook and extract main sections [WIP] * fix suggestions part 1 * fix suggestions part 2 * fix suggestions part 3 * fix suggestions part 3 * move notebook to right folder * remove links * remove links and typos * fix suggestions n + 1 XD * address further comments * fix content feedback * style corrections part 1 * attempt to adds cross-references * fix methods references * add some cross-references [WIP] * more formating and final comments * Present pm.logp before model utilities * Fix some references and minor changes * Add Model reference * correct func path references * typo Co-authored-by: Ricardo <ricardo.vieira1994@gmail.com> 06 June 2022, 21:39:38 UTC
3619bca ⬆️ UPGRADE: Autoupdate pre-commit config (#5857) 06 June 2022, 16:34:21 UTC
c51b44a ⬆️ UPGRADE: Autoupdate pre-commit config 04 June 2022, 16:52:44 UTC
575454f Fixing student-T process doc-string 03 June 2022, 20:47:08 UTC
4e6527c Bump version to 4.0.0 🎉 03 June 2022, 15:51:31 UTC
e663f46 Remove developer guide. Needs to be updated eventually. 03 June 2022, 15:50:44 UTC
938604c Add temporary fix for pretty representation of SymbolicDistributions 03 June 2022, 15:13:01 UTC
57c6a8f Move printing-related tests to their own test module 03 June 2022, 15:13:01 UTC
c758d0d Restructure Release Notes (#5832) * 1st try at restructuring * Add emojis and do-not-miss section * Apply suggestions from code review Co-authored-by: Michael Osthege <michael.osthege@outlook.com> Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> * Improve structure based on review * Apply suggestions from code review Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> * Improve structure again * Add release announcement * Apply suggestions from code review Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> * Apply suggestions from code review Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> * Apply suggestions from code review Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> * Add highlight of JAX backend. * Remove BART section and move links to where we remove it. * Move BART further down. Remove mention of size. Co-authored-by: Michael Osthege <michael.osthege@outlook.com> Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> 03 June 2022, 14:43:38 UTC
0d38abf Move BMCP to top of book list 03 June 2022, 14:28:34 UTC
5da32ed Add comment to `set_data` condition where the length comes from a `shape[i]` graph 03 June 2022, 14:28:09 UTC
70b0c49 Automatically resize independently mutable dims via `set_data` 03 June 2022, 14:28:09 UTC
2120593 Warn about resizing `MutableData` dims that are not symbolically linked Closes #5812 03 June 2022, 14:28:09 UTC
a74592a Add `Model.set_dim` method for safer dims resizing 03 June 2022, 14:28:09 UTC
0e7cd1f Update guide on implementing new distributions Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 03 June 2022, 13:38:09 UTC
2dc0009 Add troubleshooting tips on pre-commit 03 June 2022, 13:38:09 UTC
48eff60 Write instructions on running the test suite 03 June 2022, 13:38:09 UTC
559969c Update Aesara dependency 02 June 2022, 22:37:35 UTC
2d6304d fix 404 and intersphinx 02 June 2022, 22:33:32 UTC
88a0f43 Bring back learn page. (#5833) * Bring back learning page. * Remove no-sidebar. * Updates to user guide. * Remove learn.md. * Add link to PyMC Labs. * Link to correct image. * Improve cosulting page. Rename to learn. * Change cards to use Oriol's proposed format. * fix sphinx build * add newline at end of file * ensure img kwarg is in the next line of directive definition Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 02 June 2022, 19:39:29 UTC
de9db67 Deprecate remaining VI methods (#5806) * Deprecated remaining VI methods * Deleted flows and code for local and batched kwarg * removed rowwise from opvi.py * redo the test_variational_inference.py * refactored some test cases * removed mention of local from docstring * refactor some test in varialional_inference * did correction in docstring * removed batched dimension property * added symbolic_random * removed part = 'total' * refactor test_logq_globals and test_pickle_approx test * refactor test_init_groups 02 June 2022, 16:05:04 UTC
b073fd8 Remove user-facing mentions of size in timeseries distributions 02 June 2022, 16:02:50 UTC
343a6f5 Use more wide default init_dist in GaussianRandomWalk and AR and raise UserWarning when not explicitly defined 02 June 2022, 16:02:50 UTC
12039e0 Rename GaussianRandomWalk `init` argument to `init_dist` and fix some type hints 02 June 2022, 16:02:50 UTC
42e3745 Do not issue warning when default transform of Mixture is None Also fixes typo in warning message 02 June 2022, 14:22:05 UTC
db5c87e Update navbar (#5830) * start updating navbar * get navbar and redirects to work * make search bar return the same results from all websites * update requirements * remove search bar from sidebar * fix urls and add extra page * Update .pre-commit-config.yaml Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> 01 June 2022, 10:38:10 UTC
1e7d91f Make Metropolis cope better with multiple dimensions Metropolis now updates each dimension sequentially and tunes a proposal scale parameter per dimension 31 May 2022, 21:20:17 UTC
4810829 Move TestMetropolisProposal tests to TestMetropolis 31 May 2022, 21:20:17 UTC
6750ea7 Supress warning SMC initialization (#5827) 31 May 2022, 17:23:07 UTC
6027be1 Raise NotImplementedError in sample_posterior_predictive_w 31 May 2022, 16:26:29 UTC
ae578c2 Raise NotImplementedError in not yet refactored timeseries distributions Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com> 31 May 2022, 16:26:29 UTC
5703a9d Remove advanced Aesara usage guide (#5826) 30 May 2022, 18:03:08 UTC
6b22ed5 Add return type hints (#5819) * Add return type hints * Add type hints for rv arguments * Fix more type issues Closes #4880 Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 30 May 2022, 17:44:55 UTC
57654dc Add name to CompountStep 30 May 2022, 16:28:55 UTC
35393af Avoid unnecessary slow compilation of Aesara functions in test_step 30 May 2022, 16:28:55 UTC
e636852 Refactor TestStepMethods and reduce number of draws The number of draws was set too high to accommodate the worst / buggy samplers (see #5815) 30 May 2022, 16:28:55 UTC
70a3e0b Refactor Slice.astep method Avoid recreation of RaveledArrays in inner loops and repeated indexing of `self.w` 30 May 2022, 16:28:55 UTC
f28f9cf Fix Slice sampler bugs introduced in b988ba99a084a18b2c907ef2ee4aeb1f4ab56160 1. The previous interval was of the form `[q0 - uniform(0, self.w), q0 + self.w]` which is not symmetric around q0 in expectation, breaking detailed balance. 2. The left/right bound values used for updating earlier variables were only set to the accepted values during tuning. This might have made bug 1 worse. 30 May 2022, 16:28:55 UTC
de55543 Add Quick links to Contributing guidelines (#5818) 30 May 2022, 09:54:42 UTC
back to top