Skip to content

Commit

Permalink
Adds plotting methods for monte carlo samplers (#409)
Browse files Browse the repository at this point in the history
* feat: initial monte carlo plotting, summary functionality

temp commit

* plots: update mcmc_summary, remove stale unit tests, align mcmc_example with plotting methods.

* adds autocorrelation and ess methods for posterior chains

* style: pre-commit fixes

* Adds ECM monte carlo identification example, updates and bugfixes to posterior_summary

* tests: coverage for PosteriorSummary()

* Move data/Tesla_4680 files

* fix: lychee, multiprocessing, plotly.go management

* Adds coverage for effective sample size, autocorrelation

* tests: coverage and removes redundant checks

* Update notebook sampler, starting position from optimisation, parallelisation

* adds rhat() to PosteriorSummary, updates monte_carlo_ecm example for MAP estimate & initialisation

* examples: post-merge fix

* tests: adds rhat assertion, updates thevenin sampling for MAP estimate x0.

* moves x0 checks, construction to BaseSampler, updates tests, fixes transformations in samplers

* adds coverage, updates multi_fitting.py.

* fix: x0 in BaseSampler shape, updates sampler & observer tests

* style: pre-commit fixes

* fix: plot architecture change

* adds changelog entry, updates to mcmc_example.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
BradyPlanden and pre-commit-ci[bot] authored Oct 29, 2024
1 parent e64857e commit a756d27
Show file tree
Hide file tree
Showing 16 changed files with 225,411 additions and 120 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Features

- [#409](https://github.com/pybop-team/PyBOP/pull/409) - Adds plotting and convergence methods for Monte Carlo sampling. Includes open-access Tesla 4680 dataset for Bayesian inference example. Fixes transformations for sampling.
- [#531](https://github.com/pybop-team/PyBOP/pull/531) - Adds Voronoi optimiser surface plot (`pybop.plot.surface`) for fast optimiser aligned cost visualisation.
- [#532](https://github.com/pybop-team/PyBOP/issues/532) - Adds `linked_parameters` example script which shows how to update linked parameters during design optimisation.
- [#529](https://github.com/pybop-team/PyBOP/issues/529) - Adds `GravimetricPowerDensity` and `VolumetricPowerDensity` costs, along with the mathjax extension for Sphinx.
Expand Down
Loading

0 comments on commit a756d27

Please sign in to comment.