pymc.DictToArrayBijection#

class pymc.DictToArrayBijection[source]#

Map between a `dict`s of variables to an array space.

Said array space consists of all the vars raveled and then concatenated.

Methods

DictToArrayBijection.__init__(*args, **kwargs)

DictToArrayBijection.map(var_dict)

Map a dictionary of names and variables to a concatenated 1D array space.

DictToArrayBijection.mapf(f[, start_point])

Create a callable that first maps back to dict inputs and then applies a function.

DictToArrayBijection.rmap(array[, start_point])

Map 1D concatenated array to a dictionary of variables in their original spaces.