Skip to main content

Tools for the construction of transport maps

Project description

This package provides basic functionalities for the construction of monotonic transport maps.

Supported systems

  • *nix like OS (Linux, Unix, …)

  • Mac OS

Other operating systems have not been tested and they likely require a more complex procedure for the installation (this includes the Microsoft Windows family..).

We reccommend to work in a virtual environment using virtualenv or Anaconda.

Installation requirements

  • gcc (or an alternative C/C++ compiler)

  • gfortran (or an alternative Fortran compiler)

Automatic installation

First of all make sure to have the latest version of pip installed

$ pip install –upgrade pip

The package and its python dependencies can be installed running the command:

$ pip install –upgrade TransportMaps

If one whish to enable some of the optional dependencies:

$ pip install –upgrade TransportMaps[SUITESPARSE]

These options will install the following modules:

  • DOLFIN – dolfin package for Partial Differential Equations

  • SUITESPARSE – scikit-sparse

  • HMC – Hamiltonian Monte Carlo pyhmc (it requires having numpy and cython already installed)

Running the Unit Tests

Unit tests are available and can be run through the commands:

>>> import TransportMaps as TM
>>> TM.tests.run_tests()

Or directly using the bash command:

$ tmap-run-tests

The Git repository also contains a docker-compose configuration file to test the whole suite on several versions of python.

There are >2000 unit tests, and it will take some time to run all of them.

Credits

This sofware has been developed and is being maintained by the Uncertainty Quantification Group at MIT, under the guidance of Prof. Youssef Marzouk.

Developing team

Daniele Bigoni – [www]
Alessio Spantini
Rebecca Morrison
Ricardo M. Baptista

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

transportmaps-3.0.13-py3-none-any.whl (566.0 kB view details)

Uploaded Python 3

File details

Details for the file transportmaps-3.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for transportmaps-3.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a7b23cb3d22fbb500da02a32b1da38343e5b9ebcdf0122a8705a59e7a8544e31
MD5 e50bd0986cab01856f157866ddccc17e
BLAKE2b-256 d0ac88d2c8ac1b84115f0b44b36d2076efd301072d4377d222e5364ef52b4f6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page