{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Probably the simplest BIP in the world (the short story)\n", "\n", "\n", "Here we define and solve a very simple Bayesian inverse problem (BIP) using \n", "CUQIpy. The purpose of this notebook is to introduce the basic concepts of\n", "Bayesian inverse problems in a simple way and to use minimal CUQIpy code to\n", "solve it.\n", "\n", "In the next notebooks (the long story), we discuss more details about setting up\n", "this BIP in CUQIpy and provide many exercises to help the reader to explore \n", "using CUQIpy in solving BIPs and think of slightly different BIP modeling \n", "scenarios.\n", "\n", "\n", "## Contents of this notebook: \n", " * [0. Learning objectives](#r-learning-objectives)\n", " * [1. Defining the BIP](#r-defining-the-bip)\n", " * [2. Solving the BIP](#r-solving-the-bip)\n", " * [3. Summary](#r-summary)\n", " * [References](#r-references)\n", "\n", "\n", "## 0. Learning objectives \n", " * Create a simple BIP in CUQIpy\n", " * Create a linear forward model object\n", " * Create distribution objects that represent the prior, the noise, and the data distributions\n", " * Use the `BayesianProblem` class to define the BIP\n", "\n", " * Solve a simple BIP in CUQIpy\n", " * Compute the maximum a posteriori (MAP) estimate\n", " * Sample from a simple posterior distribution and visualize the results" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
cuqi.experimental.mcmc
module, which are expected to become the default soon. Check out the documentation for more details.\n",
"