Skip to content

TransportMaps.jlTransform probability distributions.

Build and adapt triangular transport maps for sampling, density estimation, and Bayesian inference in Julia.

TransportMaps.jl logo

Authors ​

Install TransportMaps.jl ​

julia
using Pkg
Pkg.add("TransportMaps")

Read the Introduction for the mathematical background. Follow the Getting Started guide for a complete walkthrough, or explore CDF estimation and Bayesian inference with BOD data.

Mathematical background ​

Start with the Introduction for the change-of-variables formula, triangular maps, and the density- and sample-based fitting objectives.

Transport maps are smooth, invertible transformations between probability distributions. Triangular maps build on the Rosenblatt transformation [1] and the Knothe–Rosenblatt rearrangement [2], and support sampling, density estimation, and variational inference [3].

This package implements monotone triangular transport maps following [3] and [4]. For an introduction, see [5]; for applications in structural health monitoring and Bayesian inference, see [6].

The manuals cover polynomial bases, quadrature rules, and optimization, including automatic differentiation through DifferentiationInterface.jl and multithreaded map evaluation.