Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/source/mcmc_samplers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ interface, that can be used to sample from an unknown
metropolis_mcmc
population_mcmc
slice_doubling_mcmc
slice_stepout_mcmc
slice_stepout_mcmc
slice_covariance_matching
7 changes: 7 additions & 0 deletions docs/source/mcmc_samplers/slice_covariance_matching.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**************************************************
Slice Sampling - Covariance Matching MCMC
**************************************************

.. currentmodule:: pints

.. autoclass:: SliceCovarianceMatchingMCMC
1 change: 1 addition & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ relevant code.
### MCMC with gradients
- [Hamiltonian MCMC](./sampling-hamiltonian-mcmc.ipynb)
- [MALA MCMC](./sampling-mala-mcmc.ipynb)
- [Slice Sampling: Covariance Matching MCMC](./sampling-slice-covariance-matching-mcmc.ipynb)

### Nested sampling
- [Ellipsoidal nested rejection sampling](./sampling-ellipsoidal-nested-rejection-sampling.ipynb)
Expand Down
10 changes: 5 additions & 5 deletions examples/sampling-hamiltonian-mcmc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -681,21 +681,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
Expand Down
540 changes: 540 additions & 0 deletions examples/sampling-slice-covariance-matching-mcmc.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/writing-a-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand Down
1 change: 1 addition & 0 deletions pints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def version(formatted=False):
from ._mcmc._metropolis import MetropolisRandomWalkMCMC
from ._mcmc._slice_stepout import SliceStepoutMCMC
from ._mcmc._slice_doubling import SliceDoublingMCMC
from ._mcmc._slice_covariance_matching import SliceCovarianceMatchingMCMC


#
Expand Down
Loading