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
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
This requires scitik-sparse and the package libsuitesparse-dev
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file transportmaps-3.0.13-py3-none-any.whl
.
File metadata
- Download URL: transportmaps-3.0.13-py3-none-any.whl
- Upload date:
- Size: 566.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b23cb3d22fbb500da02a32b1da38343e5b9ebcdf0122a8705a59e7a8544e31 |
|
MD5 | e50bd0986cab01856f157866ddccc17e |
|
BLAKE2b-256 | d0ac88d2c8ac1b84115f0b44b36d2076efd301072d4377d222e5364ef52b4f6b |