Skip to content

Commit

Permalink
Blackjax SMC from pymc models (#267)
Browse files Browse the repository at this point in the history
* Blackjax SMC from pymc models

* Pre-commit

* code review updates, removing chex, simplifying kernel call code

* trying experimental jax version on windows

* Removing extra comment

* code review updates

* Adding reference

* Update sampling.py

small fix docstring

* pre-commit

---------

Co-authored-by: Osvaldo A Martin <aloctavodia@gmail.com>
  • Loading branch information
ciguaran and aloctavodia authored Nov 22, 2023
1 parent c93260f commit 5fc0463
Show file tree
Hide file tree
Showing 4 changed files with 672 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda-envs/windows-environment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ dependencies:
- statsmodels
- pip:
- pymc>=5.9.0 # CI was failing to resolve
- blackjax
- scikit-learn
13 changes: 13 additions & 0 deletions pymc_experimental/inference/smc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2023 The PyMC Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Loading

0 comments on commit 5fc0463

Please sign in to comment.