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

sort by:
Revision Author Date Message Commit Date
1f80629 Revert "Add Mistplay sponsor (#6570)" This reverts commit b6521f2d6725d4c8d2ed682c7017baae5ebf55a2. 11 March 2023, 13:40:42 UTC
b6521f2 Add Mistplay sponsor (#6570) * Adding Mistplay image in the Readme * Adding Mistplay image in the Readme 11 March 2023, 13:40:16 UTC
5392336 fix typo 11 March 2023, 13:07:00 UTC
fc51fd3 Fix typos in Potential docstring * Remove spurious minus signs from the first two code examples in the Potential function * Shorten warning about applicability of Potential only to logp-based sampling 11 March 2023, 12:22:26 UTC
5603792 Add explicit support for Python 3.11 10 March 2023, 18:33:51 UTC
4965292 Skip test_polyagamma_moment if library is not installed 10 March 2023, 18:33:51 UTC
cf6d4ce Allow passing dims to Potential and Deterministic (#6576) * Adding dims parameter in Potential * Test case to check the dims in potential 10 March 2023, 16:59:56 UTC
047141c Gitpod instructions (#6549) * initial gitpod instructions * update url * spelling * more instructions on gitpod * new line at end of file * fix trailing whitespace * fix trailing whitespace * fix trailing whitespace * fix wording * try image * try sphinx image code * add link format * add link format * add link format * add link format * try html for image Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com> * add blank line * try image code * spacing, fix commit errors * backticks * try image option again * terminal instructions * clarify instructions * fix image agai * fix precommit spacing errors * try admonition * try double indent * resize image * pre-commit error * add workspace image * clean up formatting * fix pre-commit error * fix pre-commit error * pre-commit error * use generic user name Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com> * indent note Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * use console instead of bash for backticks content Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * indent list Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * verb grammar * use console instead of bash * clean up text * clean up text and formatting * indent * indent --------- Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com> Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> 09 March 2023, 10:59:57 UTC
a41d524 Bring back testing utilities used in downstream packages Follow up to * 534a9ae28a6bfea3bc31921cd92e4e4d2875b6c9 * e1d36cacb2cfb946f56872ee03e8678dc6ccf7f4 08 March 2023, 13:26:08 UTC
49aacf4 Allow Scan logprob inference of non-pure RandomVariable outputs Most of the IR logprob rewrites require a PreserveRVMappings feature in the fgraph. The rewrite responsible to introduce IR in the inner graph of Scan was not adding this feature. In addition, find_measurable_scans, was bailing out when there were MesurableVariable nodes that were not outputs, even if these were being used by downstream nodes as the source of measurability. 08 March 2023, 09:26:11 UTC
e76bba9 Fix bug in transform_scan_values 07 March 2023, 17:46:20 UTC
534a9ae Exclude tests from package discovery (#6552) * Clean up MANIFEST.in * Remove useless option from setup.py * Exclude tests from package discovery * Make get_data not look at local files anymore This seems to be a relic of the past when `tests/data` contained data files. It is not the case anymore. 07 March 2023, 07:43:55 UTC
b57cabe ⬆️ UPGRADE: Autoupdate pre-commit config 06 March 2023, 19:55:02 UTC
8208291 changed params after sigma to kwarg only 06 March 2023, 11:34:25 UTC
fb83972 Fix no-commit-to-branch pre-commit hook to protect main 05 March 2023, 22:10:54 UTC
253aaa8 Updated docstring for Potential function (#6559) * Updated docstring for Potential function * Updating docstring according to suggestions * Updated Potential docstring as per suggestion 05 March 2023, 20:24:55 UTC
2f945bb Revert "Default to using McBackend" This reverts commit 1988b6581b2ec35898e0864fb2ccac51c40f91ad. 02 March 2023, 18:47:25 UTC
1988b65 Default to using McBackend 01 March 2023, 09:32:38 UTC
5510d3f Test McBackend support 01 March 2023, 09:32:38 UTC
76df402 Add optional McBackend support 01 March 2023, 09:32:38 UTC
6a0e74d Refactor `StatsBijection` to expose information about object stats 01 March 2023, 09:32:38 UTC
763a3ea Do not install nutpie for external sampler tests Conda nutpie, and soon pip, depend on the last release of PyMC and by association PyTensor, leading to dependency issues when trying to test compatibility after PyMC bumps the PyTensor dependency. 28 February 2023, 15:57:16 UTC
5bf1bb7 Remove type hint workaround Was fixed in https://github.com/pymc-devs/pytensor/pull/205 28 February 2023, 15:57:16 UTC
5d9f72c Bump PyTensor dependency to 2.10.1 28 February 2023, 15:57:16 UTC
1ca1c94 Replace rvs_to_total_sizes mapping by ManibatchRandomVariables 28 February 2023, 13:06:13 UTC
33d641d Fix two typos. 27 February 2023, 00:10:38 UTC
14a10b7 Refactor sample return (#6546) * Extract return part of `pm.sample` * Speed up `test_mcmc` * Group tests related to `pm.sample` return parameters * Consolidate tests of return options Removes a regression test added in #3821 because it took 14 seconds. 26 February 2023, 10:50:25 UTC
9b59771 Add check for variables in step samplers (#6524) * added value check for step samplers * changing error message to be more informative * added test checking if variable not being in model.value_vars will trigger Value error * implemented changes from PR review * Fix rebase --------- Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 25 February 2023, 16:11:30 UTC
b9a3dcc Fix some code lints found with ruff (#6545) * Make isort happy with imports order * Avoid shadowing the logprob fn with a local name * Deal with unused error names * Remove unreachable return * Remove unread variable * Fix type checking for variational/approximations * A few typing fixes 25 February 2023, 11:13:30 UTC
e1d36ca Move tests outside of code directory 22 February 2023, 22:10:01 UTC
562e51e issue #5791, dims & cords inference from xarray (#6514) * added dim inference from xarray, deprecation warning and unittest for the new feature * fixed typo in warning * fixed accidental quotation around dim * fixed failing assertions * found and fixed cause of the failing test * changed the coords assertion according to suggested form * fixing mypy type missmatch * working on getting the test to work * removed typecasting to string on dim_name, was causing the mypy to fail * took care locally of mypy errors * Typo/formatting fixes --------- Co-authored-by: Michal Raczycki <michalraczycki@macbook-pro-michal.home> Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 22 February 2023, 16:51:14 UTC
e45e6c2 increase zerosum readability issue #6459 (#6522) * added n_zerosum_axes and added backwards compatibility for previous parameter name * fixed typo that caused the zerosum_axes param not to be saved correctly in the new param * adapted tests to use n_zerosum_axes --------- Co-authored-by: Michal Raczycki <michalraczycki@macbook-pro-michal.home> 22 February 2023, 10:14:14 UTC
ec30a2f BetaBinomial variance is not correctly described (#6516) 20 February 2023, 16:36:51 UTC
2978b40 Build docs in simplified environment (#6537) * Build docs in simplified environment * Fix docs build * Remove private API section from docs 20 February 2023, 16:02:24 UTC
c5e20ff Small fix in HyperGeometric docstring 20 February 2023, 13:49:06 UTC
b3541ad ⬆️ UPGRADE: Autoupdate pre-commit config 20 February 2023, 11:49:29 UTC
7e9e17d Specify `stats_dtypes_shapes` for all samplers 20 February 2023, 11:08:05 UTC
99f17c7 Introduce `stats_dtypes_shape` attribute Closes #6503 20 February 2023, 11:08:05 UTC
26f884b Add `StatsBijection.n_samplers` property 20 February 2023, 11:08:05 UTC
31c30dc Adding function for mutable coords (#6515) * adding function for mutable coords * Added coords_mutable * add coords_mutable * Make `coords_mutable` an explicit kwarg * Remove reference to undefined variable * Adding an if block --------- Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 16 February 2023, 14:58:20 UTC
c2ce47f Make all but `draws` keyword-only arguments in `sample`. Reorder arguments more logically [citation needed] 15 February 2023, 20:25:36 UTC
0660efa Allow external nuts sampler directly from `sample` Co-authored-by: Ricardo Vieira <28983449+ricardov94@users.noreply.github.com> 15 February 2023, 20:25:36 UTC
4ed38b0 Raise error when trying to jaxify graphs with RNGs 15 February 2023, 20:25:36 UTC
9172925 Remove experimental module warning from jax.py 15 February 2023, 20:25:36 UTC
301b28a Fix flaky `test_truncation_specialized_op` Using empty for the observed would sometimes lead PyMC into triggering automatic imputation, whenever the trash values in empty were nan. 15 February 2023, 07:56:44 UTC
3fcf675 Bump docker/build-push-action from 3 to 4 (#6505) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v3...3b5e8027fcad23fda98b2e3ac259d8d67585f671) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 14 February 2023, 17:23:13 UTC
2eb911e Bump docker/setup-buildx-action from 2.4.0 to 2.4.1 (#6520) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 13 February 2023, 10:01:45 UTC
3733296 Update GLM_linear.ipynb (#6519) * update link to john kruschkes book * google plus has been stopped in 2018 - remove dead link 12 February 2023, 20:56:44 UTC
28bac77 Remove test redundant with test_mixture.py 07 February 2023, 22:30:23 UTC
ab680a5 Remove test redundant with test_measurable_join_* 07 February 2023, 22:30:23 UTC
5524d6a Move pymc/distributions/logprob.py to pymc/logprob * _joint_logp to pymc/logprob/joint_logprob.py * _get_scaling, _check_no_rvs, logp to logprob/joint_logprob.py * logcdf to logprob/abstract.py * ignore_logprob to logprob/utils.py 07 February 2023, 22:30:23 UTC
e74b58d Move joint_logprob to test/logprob/utils.py 07 February 2023, 22:30:23 UTC
c5e4497 ⬆️ UPGRADE: Autoupdate pre-commit config 07 February 2023, 10:35:41 UTC
9eaf1f2 More robust tune stat fetching and type hints The mcmc module relies on the `"tune"` stat to figure out the number of tune/draw iterations post sampling. These changes remove reliance on any weird squeeze-cat magic. Co-authored-by: Virgile Andreani <armavica@ulminfo.fr> 07 February 2023, 08:46:59 UTC
d58f9f6 Allow for `StatsBijection.rmap` of incomplete stat dicts 07 February 2023, 08:46:59 UTC
ac9652e Add nu parametrization to beta distribution (#6344) * Add (mu, nu) parametrization * add test beta logp * Add relationship between alpha, beta and nu * change test structure * remove white space accidently added in docstring * remove sample size from docstring --------- Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 03 February 2023, 19:16:03 UTC
b213cf3 Fix `test_weibull_logp` flakyness 03 February 2023, 13:29:22 UTC
26f7636 Create traces with `init_traces` helper function 03 February 2023, 13:29:22 UTC
c5aff17 Modify internal sampling functions from `BaseTrace` to `IBaseTrace` 03 February 2023, 13:29:22 UTC
e739546 Introduce `IBaseTrace` with minimal API for chain backends 03 February 2023, 13:29:22 UTC
51724c5 Bump docker/setup-buildx-action from 2.0.0 to 2.4.0 (#6490) * Bump docker/setup-buildx-action from 2.0.0 to 2.3.0 Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.0.0 to 2.3.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/dc7b9719a96d48369863986a06765841d7ea23f6...5e716dcfd653738c2d1db099bfba194a84158be4) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Pin docker/setup-buildx-action to 2.4.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 01 February 2023, 10:02:17 UTC
08e324c Add git-blame-ignore-revs file. Ignoring apache header commit in blame 01 February 2023, 09:57:05 UTC
0a3548d Apply or update apache v2 license header to all files 01 February 2023, 09:57:05 UTC
8ea3b35 Add step to pre-commit that inserts or updates Apache v2 license header 01 February 2023, 09:57:05 UTC
594ec1c Update isort pre-commit rev to 5.12.0 to avoid a poetry deprecation bug 01 February 2023, 09:57:05 UTC
af8cab2 Align DEMetropolis defaults with literature recommendations (#6488) * Changed DEMetropolis and DEMetropolisZ sampler defaults to NormalProposal and tune scaling Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 01 February 2023, 08:50:11 UTC
65c1c68 Register Op as subclass of Distributions with `rv_type` defined (#6493) This is the case of distributions that return SymbolicRandomVariables 01 February 2023, 05:31:26 UTC
26048a4 Make VI (posterior) mean and std accessible as a structured xarray (#6387) * make vi (posterior) mean and std accessible as a structured xarray data set * add doc strings * convert to original dtype * add docstring and comment * test `mean_data` and `std_data` for shape and coords * Moved tests to tests/variational * Formatting * Updated deprecated function; removed dict comparison operator * Removed bad dict operator in tests * Fixed type hint * Alternative type hint * Property return type hints Co-authored-by: Michael Osthege <michael.osthege@outlook.com> * Property return type hints Co-authored-by: Michael Osthege <michael.osthege@outlook.com> * Removed clobbering of shared reference Co-authored-by: Michael Osthege <michael.osthege@outlook.com> * Add type hint Co-authored-by: Michael Osthege <michael.osthege@outlook.com> --------- Co-authored-by: Markus Schmaus <markus.schmaus.math@gmail.com> Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 30 January 2023, 03:59:28 UTC
f2a7174 Update GitPod base image to use pymc-built image (#6483) 26 January 2023, 09:18:46 UTC
2f6de76 Add devcontainer Docker image (#6482) * Switch base image * Update base image * Add Live Share extension * Update devcontainer base image * Use _dev-init.sh as startup command * Also run _dev-init.sh in init section * Update base devcontainer * Remove Live Share since doesn't exist on OpenVSX * Add Pyright extension * Set default interpreter path * Install pre-commit hooks in background * Also set python.pythonPath * Remove deprecated python.pythonPath setting * Add Git History plugin * Install pre-commit hooks in foreground * Add .dockerignore * Add dev.Dockerfile * Add workflow to build devcontainer * Disable arm64 devcontainer builds * Sudo * Use prebuilt PyMC devcontainer * Make all files writeable * Copy pre-built pre-commit cache if it doesn't exist yet * Run chmod with sudo * Use updated devcontainer * Make chmod recursive * Update devcontainer base * Set PRE_COMMIT_HOME to save precomputed cache * Chown conda-meta/history Not sure why this is necessary. Otherwise I get: critical libmamba Operation not permitted: '/opt/conda/conda-meta/history' * Update devcontainer base image * Remove GHA version comments Bumping version numbers should work via dependabot. * Name image as pymc-devcontainer * Use latest available pymc-devcontainer * Bump devcontainer base version * Ensure pre-commit hooks are installed * Add some vscode settings 26 January 2023, 08:41:34 UTC
da45205 typo error bar typo 25 January 2023, 19:12:34 UTC
902b1ec Enforce dims to be strings 25 January 2023, 09:47:54 UTC
f4986a4 Updated LICENSE to include AePPL license info (#6474) * Updated LICENSE to include AePPL license info * newline 23 January 2023, 20:25:33 UTC
ae45919 ⬆️ UPGRADE: Autoupdate pre-commit config 23 January 2023, 07:57:39 UTC
310ebaf ⬆️ UPGRADE: Autoupdate pre-commit config 21 January 2023, 10:18:18 UTC
00d2675 Use separate argument in CustomDist for functions that return symbolic representations 20 January 2023, 22:26:10 UTC
5802f12 Make trace backend related type hints more generic * Specify covariant input types in `StatsBijection`. * Annotate `_choose_chains` to be independent of `BaseTrace` type. 20 January 2023, 12:02:26 UTC
ce66620 Avoid `SamplerReport` methods in convergence checks The goal was to uncouple sampling functions from `MultiTrace` and `SamplerReport`. Some calls to `SamplerReport._log_summary()` were unnecessary because `MultiTrace._add_warnings()` was never called inbetween instantiation and `_log_summary()`, therefore the traces never contained warnings. Running convergence checks and logging the warnings can also be done without needing `MultiTrace` or `SamplerReport` instances/methods. 20 January 2023, 12:02:26 UTC
db65421 Add type hints to SMC code 20 January 2023, 12:02:26 UTC
22b4446 Avoid missing_rvs warning when using RandomWalk 20 January 2023, 10:15:34 UTC
6007e84 Add helper to undo `ignore_logprob` 20 January 2023, 10:15:34 UTC
3c01e65 Return empty list of measurable outputs from UnmeasurableVariables instead of None 20 January 2023, 10:15:34 UTC
749a3a6 Do not squeeze single chain in `sample_stats_to_xarray` 20 January 2023, 10:15:34 UTC
6ab0c03 Fix `BaseTrace` and `MultiTrace` typing; remove `add_values`/`remove_values` The `add_values`/`remove_values` methods accessed attributes that are not present on `BaseTrace` but only on `NDarray`, therefore violating the signature. 14 January 2023, 01:27:44 UTC
6c4d4eb Fix bug that does not correctly set the dtype of determinsitic variab… (#6425) * Fix bug that does not correctly set the dtype of determinsitic variable after automatic imputation * Change `at.zeros` to `at.empty` when creating combined observed/missing vector Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> 12 January 2023, 18:58:21 UTC
c3b8ff4 Bump PyTensor to 2.9.1 (#6431) * Bump PyTensor to 2.9.1 * Allow installation from `.conda` artifacts * Workaround type issues in `shape_utils` Caused by https://github.com/pymc-devs/pytensor/issues/193 12 January 2023, 16:39:31 UTC
ecb3666 ⬆️ UPGRADE: Autoupdate pre-commit config 11 January 2023, 17:25:30 UTC
a99d4ea Add seealso note to install docs (#6448) * Add seealso note to install docs * remove trailing whitespace * Update docs/source/installation.md Co-authored-by: Michael Osthege <michael.osthege@outlook.com> Co-authored-by: Michael Osthege <michael.osthege@outlook.com> 11 January 2023, 17:24:16 UTC
3d747af Introduce `StatsBijection` to combine stats dicts 11 January 2023, 17:23:29 UTC
10c66b4 Move `Competence` and `BlockedStep` to `compound` module These types follow directly from the introduction of CompoundStep. Moving them decouples code that depends on them from the `arraystep` module. 11 January 2023, 17:23:29 UTC
8547d6d Fix several typing gaps 10 January 2023, 19:13:42 UTC
d6f1aad Refactor sampling functiongs to use initialized traces 10 January 2023, 19:13:42 UTC
c0e017d Remove `iter_sample` function 10 January 2023, 19:13:42 UTC
925c3c9 Remove `discard_tuned_samples` from `_mp_sample` 10 January 2023, 19:13:42 UTC
4c020e7 Move population size warnings to population sampling submodule 10 January 2023, 19:13:42 UTC
6ad9693 Require explicit kwargs in internal sampling functions 10 January 2023, 19:13:42 UTC
434333f Correct orthographic typos 08 January 2023, 18:38:50 UTC
669e4f5 add ref to template notebook in Jupyter style guide 08 January 2023, 18:34:08 UTC
db11a23 Infer logrob of absolute transform Co-authored-by: Luke LB <ll17354@bristol.ac.uk> 07 January 2023, 08:21:57 UTC
2953c8b Generalize handling of invalid values in measurable transforms We rely on the jacobian returning `nan` for invalid values Co-authored-by: Luke LB <ll17354@bristol.ac.uk> 07 January 2023, 08:21:57 UTC
back to top