How To Install python-bumps-doc on Ubuntu 18.04

In this tutorial we learn how to install python-bumps-doc on Ubuntu 18.04. python-bumps-doc is data fitting and Bayesian uncertainty modeling for inverse problems (docs)

Introduction

In this tutorial we learn how to install python-bumps-doc on Ubuntu 18.04.

What is python-bumps-doc

python-bumps-doc is:

Bumps is a set of routines for curve fitting and uncertainty analysis from a Bayesian perspective. In addition to traditional optimizers which search for the best minimum they can find in the search space, bumps provides uncertainty analysis which explores all viable minima and finds confidence intervals on the parameters based on uncertainty in the measured values. Bumps has been used for systems of up to 100 parameters with tight constraints on the parameters. Full uncertainty analysis requires hundreds of thousands of function evaluations, which is only feasible for cheap functions, systems with many processors, or lots of patience.

Bumps includes several traditional local optimizers such as Nelder-Mead simplex, BFGS and differential evolution. Bumps uncertainty analysis uses Markov chain Monte Carlo to explore the parameter space. Although it was created for curve fitting problems, Bumps can explore any probability density function, such as those defined by PyMC. In particular, the bumps uncertainty analysis works well with correlated parameters.

Bumps can be used as a library within your own applications, or as a framework for fitting, complete with a graphical user interface to manage your models.

This is the common documentation package.

There are three methods to install python-bumps-doc on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-bumps-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-bumps-doc using apt-get by running the following command:

sudo apt-get -y install python-bumps-doc

Install python-bumps-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-bumps-doc using apt by running the following command:

sudo apt -y install python-bumps-doc

Install python-bumps-doc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-bumps-doc using aptitude by running the following command:

sudo aptitude -y install python-bumps-doc

How To Uninstall python-bumps-doc on Ubuntu 18.04

To uninstall only the python-bumps-doc package we can use the following command:

sudo apt-get remove python-bumps-doc

Uninstall python-bumps-doc And Its Dependencies

To uninstall python-bumps-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-bumps-doc

Remove python-bumps-doc Configurations and Data

To remove python-bumps-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-bumps-doc

Remove python-bumps-doc configuration, data, and all of its dependencies

We can use the following command to remove python-bumps-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-bumps-doc

References

Summary

In this tutorial we learn how to install python-bumps-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.