TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories

Module Contents

Classes

LazyTransportMap

Triangular transport map \(T[{\bf a}_{1:d_x}]({\bf x})=[T_1[{\bf a}_1], \ldots,T_{d_x}[{\bf a}_{d_x}]]^\top\), where \(T_i[{\bf a}_i]({\bf x}):\mathbb{R}^{n_i}\times\mathbb{R}^{d_x}\rightarrow\mathbb{R}\).

DeepLazyMapFactory

Abstract factory for maps.

DeepLazyMapListFactory

Abstract factory for maps.

FixedOrderDeepLazyMapFactory

Abstract factory for maps.

ManualDeepLazyMapFactory

Abstract factory for maps.

FixedOrderMapFactory

Abstract factory for maps.

ManualMapFactory

Abstract factory for maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.LazyTransportMap(head, tail)[source]

Bases: TransportMaps.Maps.ParametricTriangularComponentwiseTransportMap

Triangular transport map \(T[{\bf a}_{1:d_x}]({\bf x})=[T_1[{\bf a}_1], \ldots,T_{d_x}[{\bf a}_{d_x}]]^\top\), where \(T_i[{\bf a}_i]({\bf x}):\mathbb{R}^{n_i}\times\mathbb{R}^{d_x}\rightarrow\mathbb{R}\).

get_identity_coeffs()[source]

[Abstract] Returns the coefficients corresponding to the identity map

Returns:

coefficients

Return type:

(ndarray [\(N\)])

Raises:

NotImplementedError – must be implemented in subclasses.

get_default_init_values_minimize_kl_divergence()[source]
class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.DeepLazyMapFactory(*args, **kwargs)[source]

Bases: TransportMaps.Maps.MapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim, dim_k, order, *args, **kwargs)[source]

[abstract] generates maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.DeepLazyMapListFactory(*args, **kwargs)[source]

Bases: DeepLazyMapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim, dim_k, order, *args, **kwargs)[source]

[abstract] generates maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.FixedOrderDeepLazyMapFactory(order)[source]

Bases: DeepLazyMapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim, dim_k, *args, **kwargs)[source]

[abstract] generates maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.ManualDeepLazyMapFactory(*args, **kwargs)[source]

Bases: DeepLazyMapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim, dim_k, *args, **kwargs)[source]

[abstract] generates maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.FixedOrderMapFactory(order)[source]

Bases: TransportMaps.Maps.MapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim_k, *args, **kwargs)[source]

[abstract] generates maps.

class TransportMaps.Algorithms.DeepLazyMaps.DeepLazyMapFactories.ManualMapFactory(*args, **kwargs)[source]

Bases: TransportMaps.Maps.MapFactory

Abstract factory for maps.

It provides a function MapFactory.generate() which returns the generated map.

generate(dim_k, *args, **kwargs)[source]

[abstract] generates maps.