Data#

ConstantData(name, value, *[, dims, coords, ...])

Alias for pm.Data(..., mutable=False).

MutableData(name, value, *[, dims, coords, ...])

Alias for pm.Data(..., mutable=True).

get_data(filename)

Returns a BytesIO object for a package data file.

Data(name, value, *[, dims, coords, ...])

Data container that registers a data variable with the model.

GeneratorAdapter(generator)

Helper class that helps to infer data type of generator with looking at the first item, preserving the order of the resulting generator

Minibatch(variable, *variables, batch_size)

Get random slices from variables from the leading dimension.