├── _build ├── html │ ├── _static │ │ ├── __init__.py │ │ ├── file.png │ │ ├── plus.png │ │ ├── minus.png │ │ ├── images │ │ │ ├── logo_colab.png │ │ │ ├── logo_binder.svg │ │ │ └── logo_jupyterhub.svg │ │ ├── __pycache__ │ │ │ └── __init__.cpython-38.pyc │ │ ├── css │ │ │ └── blank.css │ │ ├── vendor │ │ │ └── fontawesome │ │ │ │ └── 5.13.0 │ │ │ │ ├── webfonts │ │ │ │ ├── fa-solid-900.eot │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-brands-400.eot │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff │ │ │ │ ├── fa-regular-400.eot │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-solid-900.woff │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.woff │ │ │ │ └── fa-regular-400.woff2 │ │ │ │ └── LICENSE.txt │ │ ├── panels-variables.06eb56fa6e07937060861dad626602ad.css │ │ ├── check-solid.svg │ │ ├── copy-button.svg │ │ ├── documentation_options.js │ │ ├── webpack-macros.html │ │ ├── copybutton.css │ │ ├── copybutton_funcs.js │ │ ├── sphinx-book-theme.d59cb220de22ca1c485ebbdc042f0030.js │ │ ├── panels-main.c949a650a448cc0ae9fd3441c0e17fb0.css │ │ ├── sphinx-thebe.css │ │ ├── togglebutton.css │ │ ├── sphinx-thebe.js │ │ └── pygments.css │ ├── index.html │ ├── _sources │ │ ├── bib.md │ │ ├── chapters │ │ │ ├── pf │ │ │ │ └── pf_index.md │ │ │ ├── lgssm │ │ │ │ ├── lgssm_index.md │ │ │ │ ├── kalman_filter.ipynb │ │ │ │ ├── kalman_smoother.ipynb │ │ │ │ ├── kalman_sampling.ipynb │ │ │ │ └── kalman_parallel.ipynb │ │ │ ├── bnp │ │ │ │ └── bnp_index.md │ │ │ ├── unscented │ │ │ │ ├── unscented_index.md │ │ │ │ ├── unscented_filter.ipynb │ │ │ │ └── unscented_smoother.ipynb │ │ │ ├── extended │ │ │ │ ├── extended_index.md │ │ │ │ ├── extended_filter.ipynb │ │ │ │ ├── extended_smoother.ipynb │ │ │ │ └── extended_parallel.ipynb │ │ │ ├── adf │ │ │ │ └── adf_index.md │ │ │ ├── gp │ │ │ │ └── gp_index.md │ │ │ ├── tracking │ │ │ │ └── tracking_index.md │ │ │ ├── learning │ │ │ │ ├── learning_index.md │ │ │ │ ├── mcmc.ipynb │ │ │ │ ├── sgd.ipynb │ │ │ │ ├── vb.ipynb │ │ │ │ └── em.ipynb │ │ │ ├── quadrature │ │ │ │ └── quadrature_index.md │ │ │ ├── smc │ │ │ │ └── smc_index.md │ │ │ ├── timeseries │ │ │ │ └── timeseries_index.md │ │ │ ├── ssm │ │ │ │ ├── ssm_index.md │ │ │ │ ├── learning.ipynb │ │ │ │ └── ssm_intro.ipynb │ │ │ ├── vi │ │ │ │ └── vi_index.md │ │ │ ├── ensemble │ │ │ │ └── ensemble_index.md │ │ │ ├── ode │ │ │ │ └── ode_index.md │ │ │ ├── postlin │ │ │ │ └── postlin_index.md │ │ │ ├── control │ │ │ │ └── control_index.md │ │ │ ├── changepoint │ │ │ │ └── changepoint_index.md │ │ │ ├── hmm │ │ │ │ ├── hmm_index.md │ │ │ │ ├── hmm_viterbi.ipynb │ │ │ │ ├── hmm_sampling.ipynb │ │ │ │ ├── hmm_parallel.ipynb │ │ │ │ └── hmm_smoother.ipynb │ │ │ ├── blank.ipynb │ │ │ └── scratch.md │ │ ├── README.md │ │ └── root.md │ ├── objects.inv │ ├── _images │ │ ├── casino.png │ │ ├── cat_dog.jpg │ │ ├── lds_5_1.png │ │ ├── lds_6_1.png │ │ ├── lds_7_1.png │ │ ├── hmm_14_0.png │ │ ├── hmm_15_0.png │ │ ├── hmm_15_1.png │ │ ├── hmm_16_1.png │ │ ├── hmm_17_0.png │ │ ├── hmm_18_1.png │ │ ├── pendulum.png │ │ ├── ssm_15_0.png │ │ ├── ssm_16_1.png │ │ ├── ssm_18_1.png │ │ ├── ssm_19_1.png │ │ ├── ssm_20_1.png │ │ ├── ssm_21_1.png │ │ ├── ssm_24_1.png │ │ ├── ssm_25_1.png │ │ ├── ssm_29_1.png │ │ ├── ssm_30_1.png │ │ ├── ssm_31_1.png │ │ ├── scratch_2_0.png │ │ ├── ssm_old_15_0.png │ │ ├── ssm_old_16_1.png │ │ ├── ssm_old_21_1.png │ │ ├── ssm_old_30_1.png │ │ ├── ssm_old_31_1.png │ │ ├── SSM-AR-inputs.png │ │ ├── SSM-simplified.png │ │ ├── hmmDgmPlatesY.png │ │ ├── inference_10_1.png │ │ ├── inference_11_1.png │ │ ├── inference_14_1.png │ │ ├── inference_15_1.png │ │ ├── inference_16_1.png │ │ ├── inference_17_1.png │ │ ├── inference_7_1.png │ │ ├── inference_8_1.png │ │ ├── inference_9_1.png │ │ ├── dbn-inference-problems.png │ │ └── inference-problems-tikz.png │ ├── .buildinfo │ ├── _panels_static │ │ ├── panels-variables.06eb56fa6e07937060861dad626602ad.css │ │ └── panels-main.c949a650a448cc0ae9fd3441c0e17fb0.css │ └── reports │ │ ├── hmm_filter.log │ │ └── hmm.log ├── .doctrees │ ├── glue_cache.json │ ├── bib.doctree │ ├── README.doctree │ ├── root.doctree │ ├── old │ │ ├── ssm.doctree │ │ └── ssm_old.doctree │ ├── environment.pickle │ └── chapters │ │ ├── blank.doctree │ │ ├── hmm │ │ ├── hmm.doctree │ │ ├── hmm_filter.doctree │ │ ├── hmm_index.doctree │ │ ├── hmm_parallel.doctree │ │ ├── hmm_sampling.doctree │ │ ├── hmm_smoother.doctree │ │ └── hmm_viterbi.doctree │ │ ├── scratch.doctree │ │ ├── ssm │ │ ├── hmm.doctree │ │ ├── lds.doctree │ │ ├── ssm.doctree │ │ ├── nlds.doctree │ │ ├── learning.doctree │ │ ├── ssm_old.doctree │ │ ├── inference.doctree │ │ ├── ssm_index.doctree │ │ └── ssm_intro.doctree │ │ ├── gp │ │ └── gp_index.doctree │ │ ├── learning │ │ ├── em.doctree │ │ ├── sgd.doctree │ │ ├── vb.doctree │ │ ├── mcmc.doctree │ │ └── learning_index.doctree │ │ ├── pf │ │ └── pf_index.doctree │ │ ├── scratchpad.doctree │ │ ├── vi │ │ └── vi_index.doctree │ │ ├── adf │ │ └── adf_index.doctree │ │ ├── bnp │ │ └── bnp_index.doctree │ │ ├── ode │ │ └── ode_index.doctree │ │ ├── smc │ │ └── smc_index.doctree │ │ ├── lgssm │ │ ├── lgssm_index.doctree │ │ ├── kalman_filter.doctree │ │ ├── kalman_parallel.doctree │ │ ├── kalman_sampling.doctree │ │ └── kalman_smoother.doctree │ │ ├── control │ │ └── control_index.doctree │ │ ├── postlin │ │ └── postlin_index.doctree │ │ ├── ensemble │ │ └── ensemble_index.doctree │ │ ├── extended │ │ ├── extended_filter.doctree │ │ ├── extended_index.doctree │ │ ├── extended_parallel.doctree │ │ └── extended_smoother.doctree │ │ ├── tracking │ │ └── tracking_index.doctree │ │ ├── quadrature │ │ └── quadrature_index.doctree │ │ ├── timeseries │ │ └── timeseries_index.doctree │ │ ├── unscented │ │ ├── unscented_filter.doctree │ │ ├── unscented_index.doctree │ │ └── unscented_smoother.doctree │ │ └── changepoint │ │ └── changepoint_index.doctree └── jupyter_execute │ ├── chapters │ ├── lgssm │ │ ├── kalman_filter.py │ │ ├── kalman_smoother.py │ │ ├── kalman_sampling.py │ │ ├── kalman_parallel.py │ │ ├── kalman_filter.ipynb │ │ ├── kalman_smoother.ipynb │ │ ├── kalman_sampling.ipynb │ │ └── kalman_parallel.ipynb │ ├── hmm │ │ ├── hmm_viterbi.py │ │ ├── hmm_sampling.py │ │ ├── hmm_parallel.py │ │ ├── hmm_smoother.py │ │ ├── hmm_viterbi.ipynb │ │ ├── hmm_sampling.ipynb │ │ ├── hmm_parallel.ipynb │ │ └── hmm_smoother.ipynb │ ├── unscented │ │ ├── unscented_filter.py │ │ ├── unscented_smoother.py │ │ ├── unscented_filter.ipynb │ │ └── unscented_smoother.ipynb │ ├── extended │ │ ├── extended_filter.py │ │ ├── extended_smoother.py │ │ ├── extended_parallel.py │ │ ├── extended_filter.ipynb │ │ ├── extended_smoother.ipynb │ │ └── extended_parallel.ipynb │ ├── scratch_2_0.png │ ├── ssm │ │ ├── hmm_14_0.png │ │ ├── hmm_15_0.png │ │ ├── hmm_15_1.png │ │ ├── hmm_16_1.png │ │ ├── hmm_17_0.png │ │ ├── hmm_18_1.png │ │ ├── lds_5_1.png │ │ ├── lds_6_1.png │ │ ├── lds_7_1.png │ │ ├── ssm_15_0.png │ │ ├── ssm_16_1.png │ │ ├── ssm_18_1.png │ │ ├── ssm_19_1.png │ │ ├── ssm_20_1.png │ │ ├── ssm_21_1.png │ │ ├── ssm_24_1.png │ │ ├── ssm_25_1.png │ │ ├── ssm_29_1.png │ │ ├── ssm_30_1.png │ │ ├── ssm_31_1.png │ │ ├── inference_7_1.png │ │ ├── inference_8_1.png │ │ ├── inference_9_1.png │ │ ├── ssm_old_15_0.png │ │ ├── ssm_old_16_1.png │ │ ├── ssm_old_21_1.png │ │ ├── ssm_old_30_1.png │ │ ├── ssm_old_31_1.png │ │ ├── inference_10_1.png │ │ ├── inference_11_1.png │ │ ├── inference_14_1.png │ │ ├── inference_15_1.png │ │ ├── inference_16_1.png │ │ ├── inference_17_1.png │ │ ├── learning.py │ │ ├── ssm_intro.py │ │ ├── learning.ipynb │ │ ├── ssm_intro.ipynb │ │ └── nlds.py │ ├── learning │ │ ├── vb.py │ │ ├── mcmc.py │ │ ├── sgd.py │ │ ├── em.py │ │ ├── mcmc.ipynb │ │ ├── sgd.ipynb │ │ ├── vb.ipynb │ │ └── em.ipynb │ ├── blank.py │ ├── blank.ipynb │ ├── scratch.py │ └── scratchpad.py │ └── old │ ├── ssm_15_0.png │ ├── ssm_16_1.png │ ├── ssm_21_1.png │ ├── ssm_30_1.png │ ├── ssm_31_1.png │ ├── ssm_old_15_0.png │ ├── ssm_old_16_1.png │ ├── ssm_old_21_1.png │ ├── ssm_old_30_1.png │ └── ssm_old_31_1.png ├── requirements.txt ├── bib.md ├── .DS_Store ├── .vscode └── settings.json ├── figures ├── .DS_Store ├── casino.png ├── cat_dog.jpg ├── pendulum.png ├── SSM-AR-inputs.png ├── SSM-simplified.png ├── hmmDgmPlatesY.png ├── dbn-inference-problems.png └── inference-problems-tikz.png ├── chapters ├── pf │ └── pf_index.md ├── lgssm │ ├── lgssm_index.md │ ├── kalman_filter.ipynb │ ├── kalman_smoother.ipynb │ ├── kalman_sampling.ipynb │ └── kalman_parallel.ipynb ├── bnp │ └── bnp_index.md ├── unscented │ ├── unscented_index.md │ ├── unscented_filter.ipynb │ └── unscented_smoother.ipynb ├── extended │ ├── extended_index.md │ ├── extended_filter.ipynb │ ├── extended_smoother.ipynb │ └── extended_parallel.ipynb ├── adf │ └── adf_index.md ├── gp │ └── gp_index.md ├── learning │ └── learning_index.md ├── tracking │ └── tracking_index.md ├── timeseries │ └── timeseries_index.md ├── quadrature │ └── quadrature_index.md ├── smc │ └── smc_index.md ├── ssm │ ├── ssm_index.md │ ├── learning.ipynb │ └── ssm_intro.ipynb ├── vi │ └── vi_index.md ├── ensemble │ └── ensemble_index.md ├── ode │ └── ode_index.md ├── postlin │ └── postlin_index.md ├── control │ └── control_index.md ├── changepoint │ └── changepoint_index.md ├── hmm │ ├── hmm_index.md │ ├── hmm_viterbi.ipynb │ ├── hmm_sampling.ipynb │ ├── hmm_parallel.ipynb │ └── hmm_smoother.ipynb ├── intro.md~ └── scratch.md ├── root.md ├── LICENSE ├── README.md ├── _toc.yml └── _config.yml /_build/html/_static/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_build/.doctrees/glue_cache.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | jupyter-book 2 | matplotlib 3 | numpy 4 | -------------------------------------------------------------------------------- /bib.md: -------------------------------------------------------------------------------- 1 | # Bibliography 2 | 3 | 4 | ```{bibliography} 5 | ``` 6 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/.DS_Store -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.formatting.provider": "black" 3 | } -------------------------------------------------------------------------------- /_build/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_build/html/_sources/bib.md: -------------------------------------------------------------------------------- 1 | # Bibliography 2 | 3 | 4 | ```{bibliography} 5 | ``` 6 | -------------------------------------------------------------------------------- /figures/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/.DS_Store -------------------------------------------------------------------------------- /figures/casino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/casino.png -------------------------------------------------------------------------------- /figures/cat_dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/cat_dog.jpg -------------------------------------------------------------------------------- /figures/pendulum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/pendulum.png -------------------------------------------------------------------------------- /_build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/objects.inv -------------------------------------------------------------------------------- /figures/SSM-AR-inputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/SSM-AR-inputs.png -------------------------------------------------------------------------------- /figures/SSM-simplified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/SSM-simplified.png -------------------------------------------------------------------------------- /figures/hmmDgmPlatesY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/hmmDgmPlatesY.png -------------------------------------------------------------------------------- /_build/.doctrees/bib.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/bib.doctree -------------------------------------------------------------------------------- /_build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/file.png -------------------------------------------------------------------------------- /_build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/plus.png -------------------------------------------------------------------------------- /_build/.doctrees/README.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/README.doctree -------------------------------------------------------------------------------- /_build/.doctrees/root.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/root.doctree -------------------------------------------------------------------------------- /_build/html/_images/casino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/casino.png -------------------------------------------------------------------------------- /_build/html/_images/cat_dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/cat_dog.jpg -------------------------------------------------------------------------------- /_build/html/_images/lds_5_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/lds_5_1.png -------------------------------------------------------------------------------- /_build/html/_images/lds_6_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/lds_6_1.png -------------------------------------------------------------------------------- /_build/html/_images/lds_7_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/lds_7_1.png -------------------------------------------------------------------------------- /_build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/minus.png -------------------------------------------------------------------------------- /chapters/pf/pf_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:PF)= 4 | # Particle filtering 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /_build/.doctrees/old/ssm.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/old/ssm.doctree -------------------------------------------------------------------------------- /_build/html/_images/hmm_14_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_14_0.png -------------------------------------------------------------------------------- /_build/html/_images/hmm_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_15_0.png -------------------------------------------------------------------------------- /_build/html/_images/hmm_15_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_15_1.png -------------------------------------------------------------------------------- /_build/html/_images/hmm_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_16_1.png -------------------------------------------------------------------------------- /_build/html/_images/hmm_17_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_17_0.png -------------------------------------------------------------------------------- /_build/html/_images/hmm_18_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmm_18_1.png -------------------------------------------------------------------------------- /_build/html/_images/pendulum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/pendulum.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_15_0.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_16_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_18_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_18_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_19_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_19_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_20_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_20_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_21_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_24_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_24_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_25_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_25_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_29_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_29_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_30_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_31_1.png -------------------------------------------------------------------------------- /chapters/lgssm/lgssm_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:lgssm)= 4 | # Linear-Gaussian SSMs 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/.doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/environment.pickle -------------------------------------------------------------------------------- /_build/.doctrees/old/ssm_old.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/old/ssm_old.doctree -------------------------------------------------------------------------------- /_build/html/_images/scratch_2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/scratch_2_0.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_old_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_old_15_0.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_old_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_old_16_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_old_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_old_21_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_old_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_old_30_1.png -------------------------------------------------------------------------------- /_build/html/_images/ssm_old_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/ssm_old_31_1.png -------------------------------------------------------------------------------- /chapters/bnp/bnp_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:BNP)= 4 | # Bayesian non-parametric SSMs 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /figures/dbn-inference-problems.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/dbn-inference-problems.png -------------------------------------------------------------------------------- /figures/inference-problems-tikz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/figures/inference-problems-tikz.png -------------------------------------------------------------------------------- /_build/html/_images/SSM-AR-inputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/SSM-AR-inputs.png -------------------------------------------------------------------------------- /_build/html/_images/SSM-simplified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/SSM-simplified.png -------------------------------------------------------------------------------- /_build/html/_images/hmmDgmPlatesY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/hmmDgmPlatesY.png -------------------------------------------------------------------------------- /_build/html/_images/inference_10_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_10_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_11_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_11_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_14_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_14_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_15_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_15_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_16_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_17_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_17_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_7_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_7_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_8_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_8_1.png -------------------------------------------------------------------------------- /_build/html/_images/inference_9_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference_9_1.png -------------------------------------------------------------------------------- /chapters/unscented/unscented_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:unscented)= 4 | # Unscented methods 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/.doctrees/chapters/blank.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/blank.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/scratch.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/scratch.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/hmm.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/hmm.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/lds.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/lds.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/ssm.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/ssm.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/pf/pf_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:PF)= 4 | # Particle filtering 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /_build/html/_static/images/logo_colab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/images/logo_colab.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_filter.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Kalman filtering 5 | -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_15_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_21_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_30_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_31_1.png -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/nlds.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/nlds.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/lgssm/lgssm_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:lgssm)= 4 | # Linear-Gaussian SSMs 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_viterbi.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Viterbi algorithm 5 | # 6 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_smoother.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Kalman (RTS) smoother 5 | -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_old_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_old_15_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_old_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_old_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_old_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_old_21_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_old_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_old_30_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/old/ssm_old_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/old/ssm_old_31_1.png -------------------------------------------------------------------------------- /chapters/extended/extended_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:extended)= 4 | # Extended (linearized) methods 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/.doctrees/chapters/gp/gp_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/gp/gp_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/learning/em.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/learning/em.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/learning/sgd.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/learning/sgd.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/learning/vb.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/learning/vb.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/pf/pf_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/pf/pf_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/scratchpad.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/scratchpad.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/learning.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/learning.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/ssm_old.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/ssm_old.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/vi/vi_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/vi/vi_index.doctree -------------------------------------------------------------------------------- /_build/html/_images/dbn-inference-problems.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/dbn-inference-problems.png -------------------------------------------------------------------------------- /_build/html/_sources/chapters/bnp/bnp_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:BNP)= 4 | # Bayesian non-parametric SSMs 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/unscented/unscented_filter.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Unscented filtering 5 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/unscented/unscented_smoother.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Unscented smoothing 5 | -------------------------------------------------------------------------------- /chapters/adf/adf_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ADF)= 4 | # Assumed Density Filtering 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /chapters/gp/gp_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:GP)= 4 | # Markovian Gaussian processes 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/adf/adf_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/adf/adf_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/bnp/bnp_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/bnp/bnp_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_filter.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_filter.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/learning/mcmc.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/learning/mcmc.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ode/ode_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ode/ode_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/smc/smc_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/smc/smc_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/inference.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/inference.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/ssm_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/ssm_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ssm/ssm_intro.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ssm/ssm_intro.doctree -------------------------------------------------------------------------------- /_build/html/_images/inference-problems-tikz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_images/inference-problems-tikz.png -------------------------------------------------------------------------------- /_build/html/_sources/chapters/unscented/unscented_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:unscented)= 4 | # Unscented methods 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_filter.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Extended Kalman filtering 5 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_smoother.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Extended Kalman smoother 5 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/scratch_2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/scratch_2_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_14_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_14_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_15_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_15_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_15_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_17_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_17_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/hmm_18_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/hmm_18_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/lds_5_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/lds_5_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/lds_6_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/lds_6_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/lds_7_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/lds_7_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_15_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_18_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_18_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_19_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_19_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_20_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_20_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_21_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_24_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_24_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_25_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_25_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_29_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_29_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_30_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_31_1.png -------------------------------------------------------------------------------- /chapters/learning/learning_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:learning)= 4 | # Offline parameter estimation (learning) 5 | 6 | ```{tableofcontents} 7 | ``` 8 | -------------------------------------------------------------------------------- /chapters/tracking/tracking_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:tracking)= 4 | # Multi-target tracking 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_parallel.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_parallel.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_sampling.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_sampling.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_smoother.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_smoother.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/hmm/hmm_viterbi.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/hmm/hmm_viterbi.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/lgssm/lgssm_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/lgssm/lgssm_index.doctree -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_sampling.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Forwards-filtering backwards sampling 5 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/lgssm/kalman_filter.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/lgssm/kalman_filter.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/extended/extended_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:extended)= 4 | # Extended (linearized) methods 5 | 6 | ```{tableofcontents} 7 | ``` -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_7_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_7_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_8_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_8_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_9_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_9_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_old_15_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_old_15_0.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_old_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_old_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_old_21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_old_21_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_old_30_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_old_30_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/ssm_old_31_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/ssm_old_31_1.png -------------------------------------------------------------------------------- /chapters/timeseries/timeseries_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:timeseries)= 4 | # Timeseries forecasting 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/control/control_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/control/control_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/lgssm/kalman_parallel.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/lgssm/kalman_parallel.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/lgssm/kalman_sampling.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/lgssm/kalman_sampling.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/lgssm/kalman_smoother.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/lgssm/kalman_smoother.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/postlin/postlin_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/postlin/postlin_index.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/adf/adf_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ADF)= 4 | # Assumed Density Filtering 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/gp/gp_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:GP)= 4 | # Markovian Gaussian processes 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/html/_static/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_10_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_10_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_11_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_11_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_14_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_14_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_15_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_15_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_16_1.png -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/ssm/inference_17_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/jupyter_execute/chapters/ssm/inference_17_1.png -------------------------------------------------------------------------------- /chapters/quadrature/quadrature_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:quadrature)= 4 | # Quadrature and cubature methods 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /chapters/smc/smc_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:SMC)= 4 | # Sequential Monte Carlo 5 | 6 | {cite}`Chopin2020` 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/ensemble/ensemble_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/ensemble/ensemble_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/extended/extended_filter.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/extended/extended_filter.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/extended/extended_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/extended/extended_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/learning/learning_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/learning/learning_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/tracking/tracking_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/tracking/tracking_index.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/tracking/tracking_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:tracking)= 4 | # Multi-target tracking 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_sampling.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Forwards-filtering backwards-sampling algorithm 5 | # 6 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/vb.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # 5 | # (sec:VB)= 6 | # # Variational Bayes (VB) 7 | # 8 | # 9 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/extended/extended_parallel.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/extended/extended_parallel.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/extended/extended_smoother.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/extended/extended_smoother.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/quadrature/quadrature_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/quadrature/quadrature_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/timeseries/timeseries_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/timeseries/timeseries_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/unscented/unscented_filter.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/unscented/unscented_filter.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/unscented/unscented_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/unscented/unscented_index.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/learning/learning_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:learning)= 4 | # Offline parameter estimation (learning) 5 | 6 | ```{tableofcontents} 7 | ``` 8 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/mcmc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # (sec:mcmc)= 5 | # # Markov Chain Monte Carlo (MCMC) 6 | # 7 | # 8 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/sgd.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # (sec:sgd)= 5 | # # Stochastic Gradient Descent (SGD) 6 | # 7 | # 8 | -------------------------------------------------------------------------------- /_build/.doctrees/chapters/changepoint/changepoint_index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/changepoint/changepoint_index.doctree -------------------------------------------------------------------------------- /_build/.doctrees/chapters/unscented/unscented_smoother.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/.doctrees/chapters/unscented/unscented_smoother.doctree -------------------------------------------------------------------------------- /_build/html/_sources/chapters/quadrature/quadrature_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:quadrature)= 4 | # Quadrature and cubature methods 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/smc/smc_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:SMC)= 4 | # Sequential Monte Carlo 5 | 6 | {cite}`Chopin2020` 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/timeseries/timeseries_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:timeseries)= 4 | # Timeseries forecasting 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /chapters/ssm/ssm_index.md: -------------------------------------------------------------------------------- 1 | (ch:ssm)= 2 | # State Space Models 3 | 4 | This chapter introduces state space models (SSMs). 5 | 6 | 7 | 8 | ```{tableofcontents} 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /_build/html/_static/css/blank.css: -------------------------------------------------------------------------------- 1 | /* This file is intentionally left blank to override the stylesheet of the 2 | parent theme via theme.conf. The parent style we import directly in theme.css */ -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/em.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # (sec:em)= 5 | # # Expectation Maximization (EM) 6 | # 7 | # {cite}`Ghahramani96a` 8 | # 9 | -------------------------------------------------------------------------------- /chapters/vi/vi_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:VI)= 4 | # Variational inference 5 | 6 | {cite}`BayesNewton`, 7 | {cite}`Courts2020`, {cite}`Courts2021` 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_parallel.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Parallel HMM smoothing 5 | # 6 | # {cite}`Hassan2021` 7 | # 8 | # 9 | # 10 | -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probml/ssm-book/main/_build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_parallel.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Parallel extended Kalman smoothing 5 | # 6 | # {cite}`Sarkka2020icassp` 7 | # 8 | -------------------------------------------------------------------------------- /chapters/ensemble/ensemble_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ensemble)= 4 | # Data assimilation using Ensemble Kalman filter 5 | 6 | 7 | {cite}`Evensen2009`, {cite}`Roth2017enkf` 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /chapters/ode/ode_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ODE)= 4 | # Differential equations and SSMs 5 | 6 | 7 | {cite}`Tronarp2019`, {cite}`Sarkka2019book`, {cite}`HennigBook` 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/ssm/ssm_index.md: -------------------------------------------------------------------------------- 1 | (ch:ssm)= 2 | # State Space Models 3 | 4 | This chapter introduces state space models (SSMs). 5 | 6 | 7 | 8 | ```{tableofcontents} 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/vi/vi_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:VI)= 4 | # Variational inference 5 | 6 | {cite}`BayesNewton`, 7 | {cite}`Courts2020`, {cite}`Courts2021` 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_parallel.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # Parallel Kalman Smoother 5 | # 6 | # {cite}`Sarkka2021` 7 | # 8 | # 9 | # 10 | # 11 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/ensemble/ensemble_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ensemble)= 4 | # Data assimilation using Ensemble Kalman filter 5 | 6 | 7 | {cite}`Evensen2009`, {cite}`Roth2017enkf` 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /chapters/postlin/postlin_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:postlin)= 4 | # Posterior linearization 5 | 6 | 7 | {cite}`Garcia-Fernandez2017`, {cite}`Tronarp2018`, {cite}`Garcia-Fernandez2019` 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/html/_sources/README.md: -------------------------------------------------------------------------------- 1 | # ssm-book 2 | Interactive textbook on state-space models. 3 | The rendered content can be found at [https://probml.github.io/ssm-book/root.html](https://probml.github.io/ssm-book/root.html). 4 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/ode/ode_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:ODE)= 4 | # Differential equations and SSMs 5 | 6 | 7 | {cite}`Tronarp2019`, {cite}`Sarkka2019book`, {cite}`HennigBook` 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/blank.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # (chap:my-chap)= 5 | # # Chapter title 6 | # 7 | # 8 | 9 | # In[1]: 10 | 11 | 12 | print(42) 13 | 14 | 15 | # 16 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/postlin/postlin_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:postlin)= 4 | # Posterior linearization 5 | 6 | 7 | {cite}`Garcia-Fernandez2017`, {cite}`Tronarp2018`, {cite}`Garcia-Fernandez2019` 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /chapters/control/control_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:control)= 4 | # Optimal control 5 | 6 | 7 | {cite}`Botvinick2012`, {cite}`Kappen2012`, {cite}`Rawlik2012` 8 | 9 | ## LQR 10 | 11 | ## MPC 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /_build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: 70a1b193a2154c8b9a08d7b32062e5d6 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/control/control_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:control)= 4 | # Optimal control 5 | 6 | 7 | {cite}`Botvinick2012`, {cite}`Kappen2012`, {cite}`Rawlik2012` 8 | 9 | ## LQR 10 | 11 | ## MPC 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_smoother.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | # # HMM smoothing (forwards-backwards algorithm) 5 | # 6 | 7 | # ## Forwards filter, backwards smoother algorithm 8 | 9 | # ## Two-filter algorithm 10 | 11 | # 12 | -------------------------------------------------------------------------------- /chapters/changepoint/changepoint_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:changepoint)= 4 | # Changepoint detection 5 | 6 | 7 | 8 | {cite}`Agudelo-Espana2020`, {cite}`Adams2007`, {cite}`Fearnhead04`, {cite}`Fearnhead06`, {cite}`Fearnhead07`, 9 | {cite}`Fearnhead11` 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /chapters/hmm/hmm_index.md: -------------------------------------------------------------------------------- 1 | (ch:hmm)= 2 | # Hidden Markov Models 3 | 4 | This chapter discusses Hidden Markov Models (HMMs), which are state space models 5 | in which the latent state $\hidden_t \in \{1,\ldots,\nstates\}$ is discrete. 6 | 7 | 8 | ```{tableofcontents} 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/changepoint/changepoint_index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | (ch:changepoint)= 4 | # Changepoint detection 5 | 6 | 7 | 8 | {cite}`Agudelo-Espana2020`, {cite}`Adams2007`, {cite}`Fearnhead04`, {cite}`Fearnhead06`, {cite}`Fearnhead07`, 9 | {cite}`Fearnhead11` 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/hmm/hmm_index.md: -------------------------------------------------------------------------------- 1 | (ch:hmm)= 2 | # Hidden Markov Models 3 | 4 | This chapter discusses Hidden Markov Models (HMMs), which are state space models 5 | in which the latent state $\hidden_t \in \{1,\ldots,\nstates\}$ is discrete. 6 | 7 | 8 | ```{tableofcontents} 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /_build/html/_static/panels-variables.06eb56fa6e07937060861dad626602ad.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --tabs-color-label-active: hsla(231, 99%, 66%, 1); 3 | --tabs-color-label-inactive: rgba(178, 206, 245, 0.62); 4 | --tabs-color-overline: rgb(207, 236, 238); 5 | --tabs-color-underline: rgb(207, 236, 238); 6 | --tabs-size-label: 1rem; 7 | } -------------------------------------------------------------------------------- /_build/html/_panels_static/panels-variables.06eb56fa6e07937060861dad626602ad.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --tabs-color-label-active: hsla(231, 99%, 66%, 1); 3 | --tabs-color-label-inactive: rgba(178, 206, 245, 0.62); 4 | --tabs-color-overline: rgb(207, 236, 238); 5 | --tabs-color-underline: rgb(207, 236, 238); 6 | --tabs-size-label: 1rem; 7 | } -------------------------------------------------------------------------------- /_build/html/_static/check-solid.svg: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_build/html/_static/copy-button.svg: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /_build/html/_static/documentation_options.js: -------------------------------------------------------------------------------- 1 | var DOCUMENTATION_OPTIONS = { 2 | URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), 3 | VERSION: '', 4 | LANGUAGE: 'None', 5 | COLLAPSE_INDEX: false, 6 | BUILDER: 'html', 7 | FILE_SUFFIX: '.html', 8 | LINK_SUFFIX: '.html', 9 | HAS_SOURCE: true, 10 | SOURCELINK_SUFFIX: '', 11 | NAVIGATION_WITH_KEYS: true, 12 | SHOW_SEARCH_SUMMARY: true, 13 | ENABLE_SEARCH_SHORTCUTS: true, 14 | }; -------------------------------------------------------------------------------- /root.md: -------------------------------------------------------------------------------- 1 | # State Space Models: A Modern Approach 2 | 3 | This is an interactive textbook on state space models (SSM) 4 | using the [JAX Python library](https://github.com/google/jax). 5 | Some of the content is covered in other books 6 | such as {cite}`Sarkka13` and {cite}`vol2`. 7 | However, we go into more detail, and focus on how to efficiently 8 | implement the various algorithms in a "modern" computing environment, 9 | exploiting recent progress 10 | in automatic differentiation and parallel computing. 11 | 12 | 13 | ```{tableofcontents} 14 | ``` 15 | -------------------------------------------------------------------------------- /_build/html/_sources/root.md: -------------------------------------------------------------------------------- 1 | # State Space Models: A Modern Approach 2 | 3 | This is an interactive textbook on state space models (SSM) 4 | using the [JAX Python library](https://github.com/google/jax). 5 | Some of the content is covered in other books 6 | such as {cite}`Sarkka13` and {cite}`vol2`. 7 | However, we go into more detail, and focus on how to efficiently 8 | implement the various algorithms in a "modern" computing environment, 9 | exploiting recent progress 10 | in automatic differentiation and parallel computing. 11 | 12 | 13 | ```{tableofcontents} 14 | ``` 15 | -------------------------------------------------------------------------------- /chapters/hmm/hmm_viterbi.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Viterbi algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /chapters/lgssm/kalman_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /chapters/lgssm/kalman_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman (RTS) smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /chapters/unscented/unscented_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_viterbi.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Viterbi algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /chapters/extended/extended_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /chapters/extended/extended_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /chapters/unscented/unscented_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented smoothing" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/hmm/hmm_viterbi.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Viterbi algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/lgssm/kalman_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman (RTS) smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /chapters/lgssm/kalman_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards sampling" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/lgssm/kalman_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Kalman (RTS) smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/unscented/unscented_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/unscented/unscented_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/unscented/unscented_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented smoothing" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /chapters/hmm/hmm_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards-sampling algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/extended/extended_filter.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman filtering" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/extended/extended_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/unscented/unscented_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Unscented smoothing" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Extended Kalman smoother" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards sampling" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/html/_sources/chapters/lgssm/kalman_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards sampling" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/hmm/hmm_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards-sampling algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } 33 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_sampling.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Forwards-filtering backwards-sampling algorithm\n" 8 | ] 9 | } 10 | ], 11 | "metadata": { 12 | "kernelspec": { 13 | "display_name": "Python 3", 14 | "language": "python", 15 | "name": "python3" 16 | }, 17 | "language_info": { 18 | "codemirror_mode": { 19 | "name": "ipython", 20 | "version": 3 21 | }, 22 | "file_extension": ".py", 23 | "mimetype": "text/x-python", 24 | "name": "python", 25 | "nbconvert_exporter": "python", 26 | "pygments_lexer": "ipython3", 27 | "version": "3.8.5" 28 | } 29 | }, 30 | "nbformat": 4, 31 | "nbformat_minor": 4 32 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/mcmc.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:mcmc)=\n", 8 | "# Markov Chain Monte Carlo (MCMC)\n", 9 | "\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.8" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/sgd.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:sgd)=\n", 8 | "# Stochastic Gradient Descent (SGD)\n", 9 | "\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.8" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/vb.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "\n", 8 | "(sec:VB)=\n", 9 | "# Variational Bayes (VB)\n", 10 | "\n" 11 | ] 12 | } 13 | ], 14 | "metadata": { 15 | "kernelspec": { 16 | "display_name": "Python 3", 17 | "language": "python", 18 | "name": "python3" 19 | }, 20 | "language_info": { 21 | "codemirror_mode": { 22 | "name": "ipython", 23 | "version": 3 24 | }, 25 | "file_extension": ".py", 26 | "mimetype": "text/x-python", 27 | "name": "python", 28 | "nbconvert_exporter": "python", 29 | "pygments_lexer": "ipython3", 30 | "version": "3.8.8" 31 | } 32 | }, 33 | "nbformat": 4, 34 | "nbformat_minor": 4 35 | } -------------------------------------------------------------------------------- /_build/html/_sources/chapters/learning/mcmc.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:mcmc)=\n", 8 | "# Markov Chain Monte Carlo (MCMC)\n", 9 | "\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.8" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } 35 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/learning/sgd.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:sgd)=\n", 8 | "# Stochastic Gradient Descent (SGD)\n", 9 | "\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.8" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } 35 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/learning/vb.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "\n", 8 | "(sec:VB)=\n", 9 | "# Variational Bayes (VB)\n", 10 | "\n" 11 | ] 12 | } 13 | ], 14 | "metadata": { 15 | "kernelspec": { 16 | "display_name": "Python 3", 17 | "language": "python", 18 | "name": "python3" 19 | }, 20 | "language_info": { 21 | "codemirror_mode": { 22 | "name": "ipython", 23 | "version": 3 24 | }, 25 | "file_extension": ".py", 26 | "mimetype": "text/x-python", 27 | "name": "python", 28 | "nbconvert_exporter": "python", 29 | "pygments_lexer": "ipython3", 30 | "version": "3.8.8" 31 | } 32 | }, 33 | "nbformat": 4, 34 | "nbformat_minor": 4 35 | } 36 | -------------------------------------------------------------------------------- /chapters/extended/extended_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel extended Kalman smoothing\n", 8 | "\n", 9 | "{cite}`Sarkka2020icassp`\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.5" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } 35 | -------------------------------------------------------------------------------- /chapters/hmm/hmm_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel HMM smoothing\n", 8 | "\n", 9 | "{cite}`Hassan2021`\n", 10 | "\n", 11 | "\n" 12 | ] 13 | } 14 | ], 15 | "metadata": { 16 | "kernelspec": { 17 | "display_name": "Python 3", 18 | "language": "python", 19 | "name": "python3" 20 | }, 21 | "language_info": { 22 | "codemirror_mode": { 23 | "name": "ipython", 24 | "version": 3 25 | }, 26 | "file_extension": ".py", 27 | "mimetype": "text/x-python", 28 | "name": "python", 29 | "nbconvert_exporter": "python", 30 | "pygments_lexer": "ipython3", 31 | "version": "3.8.5" 32 | } 33 | }, 34 | "nbformat": 4, 35 | "nbformat_minor": 4 36 | } 37 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/extended/extended_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel extended Kalman smoothing\n", 8 | "\n", 9 | "{cite}`Sarkka2020icassp`\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.5" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel HMM smoothing\n", 8 | "\n", 9 | "{cite}`Hassan2021`\n", 10 | "\n", 11 | "\n" 12 | ] 13 | } 14 | ], 15 | "metadata": { 16 | "kernelspec": { 17 | "display_name": "Python 3", 18 | "language": "python", 19 | "name": "python3" 20 | }, 21 | "language_info": { 22 | "codemirror_mode": { 23 | "name": "ipython", 24 | "version": 3 25 | }, 26 | "file_extension": ".py", 27 | "mimetype": "text/x-python", 28 | "name": "python", 29 | "nbconvert_exporter": "python", 30 | "pygments_lexer": "ipython3", 31 | "version": "3.8.5" 32 | } 33 | }, 34 | "nbformat": 4, 35 | "nbformat_minor": 4 36 | } -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/learning/em.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:em)=\n", 8 | "# Expectation Maximization (EM)\n", 9 | "\n", 10 | "{cite}`Ghahramani96a`\n" 11 | ] 12 | } 13 | ], 14 | "metadata": { 15 | "kernelspec": { 16 | "display_name": "Python 3", 17 | "language": "python", 18 | "name": "python3" 19 | }, 20 | "language_info": { 21 | "codemirror_mode": { 22 | "name": "ipython", 23 | "version": 3 24 | }, 25 | "file_extension": ".py", 26 | "mimetype": "text/x-python", 27 | "name": "python", 28 | "nbconvert_exporter": "python", 29 | "pygments_lexer": "ipython3", 30 | "version": "3.8.8" 31 | } 32 | }, 33 | "nbformat": 4, 34 | "nbformat_minor": 4 35 | } -------------------------------------------------------------------------------- /_build/html/_sources/chapters/extended/extended_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel extended Kalman smoothing\n", 8 | "\n", 9 | "{cite}`Sarkka2020icassp`\n" 10 | ] 11 | } 12 | ], 13 | "metadata": { 14 | "kernelspec": { 15 | "display_name": "Python 3", 16 | "language": "python", 17 | "name": "python3" 18 | }, 19 | "language_info": { 20 | "codemirror_mode": { 21 | "name": "ipython", 22 | "version": 3 23 | }, 24 | "file_extension": ".py", 25 | "mimetype": "text/x-python", 26 | "name": "python", 27 | "nbconvert_exporter": "python", 28 | "pygments_lexer": "ipython3", 29 | "version": "3.8.5" 30 | } 31 | }, 32 | "nbformat": 4, 33 | "nbformat_minor": 4 34 | } 35 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/hmm/hmm_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel HMM smoothing\n", 8 | "\n", 9 | "{cite}`Hassan2021`\n", 10 | "\n", 11 | "\n" 12 | ] 13 | } 14 | ], 15 | "metadata": { 16 | "kernelspec": { 17 | "display_name": "Python 3", 18 | "language": "python", 19 | "name": "python3" 20 | }, 21 | "language_info": { 22 | "codemirror_mode": { 23 | "name": "ipython", 24 | "version": 3 25 | }, 26 | "file_extension": ".py", 27 | "mimetype": "text/x-python", 28 | "name": "python", 29 | "nbconvert_exporter": "python", 30 | "pygments_lexer": "ipython3", 31 | "version": "3.8.5" 32 | } 33 | }, 34 | "nbformat": 4, 35 | "nbformat_minor": 4 36 | } 37 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/learning/em.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(sec:em)=\n", 8 | "# Expectation Maximization (EM)\n", 9 | "\n", 10 | "{cite}`Ghahramani96a`\n" 11 | ] 12 | } 13 | ], 14 | "metadata": { 15 | "kernelspec": { 16 | "display_name": "Python 3", 17 | "language": "python", 18 | "name": "python3" 19 | }, 20 | "language_info": { 21 | "codemirror_mode": { 22 | "name": "ipython", 23 | "version": 3 24 | }, 25 | "file_extension": ".py", 26 | "mimetype": "text/x-python", 27 | "name": "python", 28 | "nbconvert_exporter": "python", 29 | "pygments_lexer": "ipython3", 30 | "version": "3.8.8" 31 | } 32 | }, 33 | "nbformat": 4, 34 | "nbformat_minor": 4 35 | } 36 | -------------------------------------------------------------------------------- /chapters/lgssm/kalman_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel Kalman Smoother\n", 8 | "\n", 9 | "{cite}`Sarkka2021`\n", 10 | "\n", 11 | "\n", 12 | "\n" 13 | ] 14 | } 15 | ], 16 | "metadata": { 17 | "kernelspec": { 18 | "display_name": "Python 3", 19 | "language": "python", 20 | "name": "python3" 21 | }, 22 | "language_info": { 23 | "codemirror_mode": { 24 | "name": "ipython", 25 | "version": 3 26 | }, 27 | "file_extension": ".py", 28 | "mimetype": "text/x-python", 29 | "name": "python", 30 | "nbconvert_exporter": "python", 31 | "pygments_lexer": "ipython3", 32 | "version": "3.8.5" 33 | } 34 | }, 35 | "nbformat": 4, 36 | "nbformat_minor": 4 37 | } 38 | -------------------------------------------------------------------------------- /_build/html/_sources/chapters/lgssm/kalman_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel Kalman Smoother\n", 8 | "\n", 9 | "{cite}`Sarkka2021`\n", 10 | "\n", 11 | "\n", 12 | "\n" 13 | ] 14 | } 15 | ], 16 | "metadata": { 17 | "kernelspec": { 18 | "display_name": "Python 3", 19 | "language": "python", 20 | "name": "python3" 21 | }, 22 | "language_info": { 23 | "codemirror_mode": { 24 | "name": "ipython", 25 | "version": 3 26 | }, 27 | "file_extension": ".py", 28 | "mimetype": "text/x-python", 29 | "name": "python", 30 | "nbconvert_exporter": "python", 31 | "pygments_lexer": "ipython3", 32 | "version": "3.8.5" 33 | } 34 | }, 35 | "nbformat": 4, 36 | "nbformat_minor": 4 37 | } 38 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/lgssm/kalman_parallel.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Parallel Kalman Smoother\n", 8 | "\n", 9 | "{cite}`Sarkka2021`\n", 10 | "\n", 11 | "\n", 12 | "\n" 13 | ] 14 | } 15 | ], 16 | "metadata": { 17 | "kernelspec": { 18 | "display_name": "Python 3", 19 | "language": "python", 20 | "name": "python3" 21 | }, 22 | "language_info": { 23 | "codemirror_mode": { 24 | "name": "ipython", 25 | "version": 3 26 | }, 27 | "file_extension": ".py", 28 | "mimetype": "text/x-python", 29 | "name": "python", 30 | "nbconvert_exporter": "python", 31 | "pygments_lexer": "ipython3", 32 | "version": "3.8.5" 33 | } 34 | }, 35 | "nbformat": 4, 36 | "nbformat_minor": 4 37 | } -------------------------------------------------------------------------------- /chapters/hmm/hmm_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# HMM smoothing (forwards-backwards algorithm)\n" 8 | ] 9 | }, 10 | { 11 | "cell_type": "markdown", 12 | "metadata": {}, 13 | "source": [ 14 | "## Forwards filter, backwards smoother algorithm" 15 | ] 16 | }, 17 | { 18 | "cell_type": "markdown", 19 | "metadata": {}, 20 | "source": [ 21 | "## Two-filter algorithm" 22 | ] 23 | }, 24 | { 25 | "cell_type": "markdown", 26 | "metadata": {}, 27 | "source": [] 28 | } 29 | ], 30 | "metadata": { 31 | "kernelspec": { 32 | "display_name": "Python 3", 33 | "language": "python", 34 | "name": "python3" 35 | }, 36 | "language_info": { 37 | "codemirror_mode": { 38 | "name": "ipython", 39 | "version": 3 40 | }, 41 | "file_extension": ".py", 42 | "mimetype": "text/x-python", 43 | "name": "python", 44 | "nbconvert_exporter": "python", 45 | "pygments_lexer": "ipython3", 46 | "version": "3.8.5" 47 | } 48 | }, 49 | "nbformat": 4, 50 | "nbformat_minor": 4 51 | } 52 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/hmm/hmm_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# HMM smoothing (forwards-backwards algorithm)\n" 8 | ] 9 | }, 10 | { 11 | "cell_type": "markdown", 12 | "metadata": {}, 13 | "source": [ 14 | "## Forwards filter, backwards smoother algorithm" 15 | ] 16 | }, 17 | { 18 | "cell_type": "markdown", 19 | "metadata": {}, 20 | "source": [ 21 | "## Two-filter algorithm" 22 | ] 23 | }, 24 | { 25 | "cell_type": "markdown", 26 | "metadata": {}, 27 | "source": [] 28 | } 29 | ], 30 | "metadata": { 31 | "kernelspec": { 32 | "display_name": "Python 3", 33 | "language": "python", 34 | "name": "python3" 35 | }, 36 | "language_info": { 37 | "codemirror_mode": { 38 | "name": "ipython", 39 | "version": 3 40 | }, 41 | "file_extension": ".py", 42 | "mimetype": "text/x-python", 43 | "name": "python", 44 | "nbconvert_exporter": "python", 45 | "pygments_lexer": "ipython3", 46 | "version": "3.8.5" 47 | } 48 | }, 49 | "nbformat": 4, 50 | "nbformat_minor": 4 51 | } -------------------------------------------------------------------------------- /_build/html/_sources/chapters/hmm/hmm_smoother.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# HMM smoothing (forwards-backwards algorithm)\n" 8 | ] 9 | }, 10 | { 11 | "cell_type": "markdown", 12 | "metadata": {}, 13 | "source": [ 14 | "## Forwards filter, backwards smoother algorithm" 15 | ] 16 | }, 17 | { 18 | "cell_type": "markdown", 19 | "metadata": {}, 20 | "source": [ 21 | "## Two-filter algorithm" 22 | ] 23 | }, 24 | { 25 | "cell_type": "markdown", 26 | "metadata": {}, 27 | "source": [] 28 | } 29 | ], 30 | "metadata": { 31 | "kernelspec": { 32 | "display_name": "Python 3", 33 | "language": "python", 34 | "name": "python3" 35 | }, 36 | "language_info": { 37 | "codemirror_mode": { 38 | "name": "ipython", 39 | "version": 3 40 | }, 41 | "file_extension": ".py", 42 | "mimetype": "text/x-python", 43 | "name": "python", 44 | "nbconvert_exporter": "python", 45 | "pygments_lexer": "ipython3", 46 | "version": "3.8.5" 47 | } 48 | }, 49 | "nbformat": 4, 50 | "nbformat_minor": 4 51 | } 52 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Probabilistic machine learning 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /_build/html/_static/webpack-macros.html: -------------------------------------------------------------------------------- 1 | 2 | {% macro head_pre_icons() %} 3 | 5 | 7 | 9 | {% endmacro %} 10 | 11 | {% macro head_pre_fonts() %} 12 | {% endmacro %} 13 | 14 | {% macro head_pre_bootstrap() %} 15 | 16 | 17 | {% endmacro %} 18 | 19 | {% macro head_js_preload() %} 20 | 21 | {% endmacro %} 22 | 23 | {% macro body_post() %} 24 | 25 | {% endmacro %} -------------------------------------------------------------------------------- /_build/html/_static/images/logo_binder.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 20 | -------------------------------------------------------------------------------- /_build/jupyter_execute/chapters/blank.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(chap:my-chap)=\n", 8 | "# Chapter title\n", 9 | "\n" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": 1, 15 | "metadata": {}, 16 | "outputs": [ 17 | { 18 | "name": "stdout", 19 | "output_type": "stream", 20 | "text": [ 21 | "42\n" 22 | ] 23 | } 24 | ], 25 | "source": [ 26 | "print(42)" 27 | ] 28 | }, 29 | { 30 | "cell_type": "markdown", 31 | "metadata": {}, 32 | "source": [] 33 | } 34 | ], 35 | "metadata": { 36 | "interpreter": { 37 | "hash": "6407c60499271029b671b4ff687c4ed4626355c45fd34c44476827f4be42c4d7" 38 | }, 39 | "kernelspec": { 40 | "display_name": "Python 3.9.2 ('spyder-dev')", 41 | "language": "python", 42 | "name": "python3" 43 | }, 44 | "language_info": { 45 | "codemirror_mode": { 46 | "name": "ipython", 47 | "version": 3 48 | }, 49 | "file_extension": ".py", 50 | "mimetype": "text/x-python", 51 | "name": "python", 52 | "nbconvert_exporter": "python", 53 | "pygments_lexer": "ipython3", 54 | "version": "3.9.2" 55 | } 56 | }, 57 | "nbformat": 4, 58 | "nbformat_minor": 4 59 | } -------------------------------------------------------------------------------- /_build/html/_sources/chapters/blank.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "(chap:my-chap)=\n", 8 | "# Chapter title\n", 9 | "\n" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": 1, 15 | "metadata": {}, 16 | "outputs": [ 17 | { 18 | "name": "stdout", 19 | "output_type": "stream", 20 | "text": [ 21 | "42\n" 22 | ] 23 | } 24 | ], 25 | "source": [ 26 | "print(42)" 27 | ] 28 | }, 29 | { 30 | "cell_type": "markdown", 31 | "metadata": {}, 32 | "source": [] 33 | } 34 | ], 35 | "metadata": { 36 | "interpreter": { 37 | "hash": "6407c60499271029b671b4ff687c4ed4626355c45fd34c44476827f4be42c4d7" 38 | }, 39 | "kernelspec": { 40 | "display_name": "Python 3.9.2 ('spyder-dev')", 41 | "language": "python", 42 | "name": "python3" 43 | }, 44 | "language_info": { 45 | "codemirror_mode": { 46 | "name": "ipython", 47 | "version": 3 48 | }, 49 | "file_extension": ".py", 50 | "mimetype": "text/x-python", 51 | "name": "python", 52 | "nbconvert_exporter": "python", 53 | "pygments_lexer": "ipython3", 54 | "version": "3.9.2" 55 | } 56 | }, 57 | "nbformat": 4, 58 | "nbformat_minor": 4 59 | } 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ssm-book 2 | Executable textbook on state-space models, to accompany the [dynamax](https://github.com/probml/dynamax) library. 3 | The rendered content can be found at [https://probml.github.io/ssm-book/root.html](https://probml.github.io/ssm-book/root.html). 4 | 5 | 6 | 7 | Authors: Kevin Murphy, Scott Linderman, et al. MIT License. 2022 8 | 9 | 10 | 11 | Related books: 12 | - [Probabilistic Machine Learning: Advanced Topics](https://probml.github.io/pml-book/book2.html). Kevin Murphy, 2023. See chapters 8, 9 and 29. 13 | [JAX code](https://probml.github.io/dynamax/) 14 | - [Bayesian filtering and smoothing](https://users.aalto.fi/~ssarkka/pub/cup_book_online_20131111.pdf), Simo Sarkka, 2013. [Matlab code](https://www.cambridge.org/us/academic/subjects/statistics-probability/applied-probability-and-stochastic-networks/bayesian-filtering-and-smoothing?format=HB), [Numpy code](https://github.com/EEA-sensors/Bayesian-Filtering-and-Smoothing/tree/main/python), [Jax code](https://github.com/petergchang/sarkka-jax) 15 | - [State estimation for robotics](http://asrl.utias.utoronto.ca/~tdb/bib/barfoot_ser17.pdf), Tim Barfoot, 2017. 16 | - [Kalman and Bayesian filters in Python](https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python), Roger Labbe, 2015. [Python code](https://github.com/rlabbe/filterpy) 17 | -------------------------------------------------------------------------------- /_build/html/_static/vendor/fontawesome/5.13.0/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Font Awesome Free License 2 | ------------------------- 3 | 4 | Font Awesome Free is free, open source, and GPL friendly. You can use it for 5 | commercial projects, open source projects, or really almost whatever you want. 6 | Full Font Awesome Free license: https://fontawesome.com/license/free. 7 | 8 | # Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) 9 | In the Font Awesome Free download, the CC BY 4.0 license applies to all icons 10 | packaged as SVG and JS file types. 11 | 12 | # Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL) 13 | In the Font Awesome Free download, the SIL OFL license applies to all icons 14 | packaged as web and desktop font files. 15 | 16 | # Code: MIT License (https://opensource.org/licenses/MIT) 17 | In the Font Awesome Free download, the MIT license applies to all non-font and 18 | non-icon files. 19 | 20 | # Attribution 21 | Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font 22 | Awesome Free files already contain embedded comments with sufficient 23 | attribution, so you shouldn't need to do anything additional when using these 24 | files normally. 25 | 26 | We've kept attribution comments terse, so we ask that you do not actively work 27 | to remove them from files, especially code. They're a great way for folks to 28 | learn about Font Awesome. 29 | 30 | # Brand Icons 31 | All brand icons are trademarks of their respective owners. The use of these 32 | trademarks does not indicate endorsement of the trademark holder by Font 33 | Awesome, nor vice versa. **Please do not use brand logos for any purpose except 34 | to represent the company, product, or service to which they refer.** 35 | -------------------------------------------------------------------------------- /_build/html/_static/images/logo_jupyterhub.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_toc.yml: -------------------------------------------------------------------------------- 1 | # Table of contents 2 | # Learn more at https://jupyterbook.org/customize/toc.html 3 | 4 | format: jb-book 5 | root: root 6 | chapters: 7 | 8 | - file: chapters/ssm/ssm_index 9 | sections: 10 | - file: chapters/ssm/ssm_intro 11 | - file: chapters/ssm/hmm 12 | - file: chapters/ssm/lds 13 | - file: chapters/ssm/nlds 14 | - file: chapters/ssm/inference 15 | - file: chapters/ssm/learning 16 | 17 | - file: chapters/hmm/hmm_index 18 | sections: 19 | - file: chapters/hmm/hmm_filter 20 | - file: chapters/hmm/hmm_smoother 21 | - file: chapters/hmm/hmm_viterbi 22 | - file: chapters/hmm/hmm_parallel 23 | - file: chapters/hmm/hmm_sampling 24 | 25 | - file: chapters/lgssm/lgssm_index 26 | sections: 27 | - file: chapters/lgssm/kalman_filter 28 | - file: chapters/lgssm/kalman_smoother 29 | - file: chapters/lgssm/kalman_parallel 30 | - file: chapters/lgssm/kalman_sampling 31 | 32 | - file: chapters/extended/extended_index 33 | sections: 34 | - file: chapters/extended/extended_filter 35 | - file: chapters/extended/extended_smoother 36 | - file: chapters/extended/extended_parallel 37 | 38 | - file: chapters/unscented/unscented_index 39 | sections: 40 | - file: chapters/unscented/unscented_filter 41 | - file: chapters/unscented/unscented_smoother 42 | 43 | - file: chapters/quadrature/quadrature_index 44 | - file: chapters/postlin/postlin_index 45 | - file: chapters/adf/adf_index 46 | - file: chapters/vi/vi_index 47 | - file: chapters/pf/pf_index 48 | - file: chapters/smc/smc_index 49 | - file: chapters/learning/learning_index 50 | - file: chapters/tracking/tracking_index 51 | - file: chapters/ensemble/ensemble_index 52 | - file: chapters/bnp/bnp_index 53 | - file: chapters/changepoint/changepoint_index 54 | - file: chapters/timeseries/timeseries_index 55 | - file: chapters/gp/gp_index 56 | - file: chapters/ode/ode_index 57 | - file: chapters/control/control_index 58 | 59 | - file: bib -------------------------------------------------------------------------------- /_build/html/_static/copybutton.css: -------------------------------------------------------------------------------- 1 | /* Copy buttons */ 2 | button.copybtn { 3 | position: absolute; 4 | display: flex; 5 | top: .3em; 6 | right: .3em; 7 | width: 1.7em; 8 | height: 1.7em; 9 | opacity: 0; 10 | transition: opacity 0.3s, border .3s, background-color .3s; 11 | user-select: none; 12 | padding: 0; 13 | border: none; 14 | outline: none; 15 | border-radius: 0.4em; 16 | /* The colors that GitHub uses */ 17 | border: #1b1f2426 1px solid; 18 | background-color: #f6f8fa; 19 | color: #57606a; 20 | } 21 | 22 | button.copybtn.success { 23 | border-color: #22863a; 24 | color: #22863a; 25 | } 26 | 27 | button.copybtn svg { 28 | stroke: currentColor; 29 | width: 1.5em; 30 | height: 1.5em; 31 | padding: 0.1em; 32 | } 33 | 34 | div.highlight { 35 | position: relative; 36 | } 37 | 38 | .highlight:hover button.copybtn { 39 | opacity: 1; 40 | } 41 | 42 | .highlight button.copybtn:hover { 43 | background-color: rgb(235, 235, 235); 44 | } 45 | 46 | .highlight button.copybtn:active { 47 | background-color: rgb(187, 187, 187); 48 | } 49 | 50 | /** 51 | * A minimal CSS-only tooltip copied from: 52 | * https://codepen.io/mildrenben/pen/rVBrpK 53 | * 54 | * To use, write HTML like the following: 55 | * 56 | *
Short
57 | */ 58 | .o-tooltip--left { 59 | position: relative; 60 | } 61 | 62 | .o-tooltip--left:after { 63 | opacity: 0; 64 | visibility: hidden; 65 | position: absolute; 66 | content: attr(data-tooltip); 67 | padding: .2em; 68 | font-size: .8em; 69 | left: -.2em; 70 | background: grey; 71 | color: white; 72 | white-space: nowrap; 73 | z-index: 2; 74 | border-radius: 2px; 75 | transform: translateX(-102%) translateY(0); 76 | transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); 77 | } 78 | 79 | .o-tooltip--left:hover:after { 80 | display: block; 81 | opacity: 1; 82 | visibility: visible; 83 | transform: translateX(-100%) translateY(0); 84 | transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); 85 | transition-delay: .5s; 86 | } 87 | 88 | /* By default the copy button shouldn't show up when printing a page */ 89 | @media print { 90 | button.copybtn { 91 | display: none; 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /_build/html/reports/hmm_filter.log: -------------------------------------------------------------------------------- 1 | Traceback (most recent call last): 2 | File "/opt/anaconda3/lib/python3.8/site-packages/jupyter_cache/executors/utils.py", line 51, in single_nb_execution 3 | executenb( 4 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 1087, in execute 5 | return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() 6 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 74, in wrapped 7 | return just_run(coro(*args, **kwargs)) 8 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 53, in just_run 9 | return loop.run_until_complete(coro) 10 | File "/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete 11 | return future.result() 12 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 540, in async_execute 13 | await self.async_execute_cell( 14 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 832, in async_execute_cell 15 | self._check_raise_for_error(cell, exec_reply) 16 | File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 740, in _check_raise_for_error 17 | raise CellExecutionError.from_cell_and_msg(cell, exec_reply['content']) 18 | nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: 19 | ------------------ 20 | import jsl.hmm.hmm_lib as hmm_lib 21 | print_source(hmm_lib.hmm_forwards_jax) 22 | #https://github.com/probml/JSL/blob/main/jsl/hmm/hmm_lib.py#L189 23 | 24 | 25 | ------------------ 26 | 27 | [0;31m---------------------------------------------------------------------------[0m 28 | [0;31mNameError[0m Traceback (most recent call last) 29 | [0;32m
83 |
84 | ```{figure} /images/cat_dog.jpg
85 | :scale: 50%
86 | :name: cat_dog
87 |
88 | A photo of a cat and a dog.
89 | ```
90 |
91 | ```{figure} /images/cat_dog.jpg
92 | :scale: 50%
93 | :name: cat_dog2
94 |
95 | Another photo of a cat and a dog.
96 | ```
97 |
98 | In {numref}`Figure %s