bayespy.nodes.Concatenate

class bayespy.nodes.Concatenate(*nodes, axis=-1, **kwargs)[source]

Concatenate similar nodes along a plate axis.

Nodes must be of same type and dimensionality. Also, plates must be identical except for the plate axis along which the concatenation is performed.

See also

numpy.concatenate

__init__(*nodes, axis=-1, **kwargs)[source]

Methods

__init__(*nodes[, axis])

add_plate_axis(to_plate)

broadcasting_multiplier(plates, *args)

delete()

Delete this node and the children

get_mask()

get_moments()

get_pdf_nodes()

get_shape(ind)

has_plotter()

Return True if the node has a plotter

lower_bound_contribution([gradient])

move_plates(from_plate, to_plate)

plot([fig])

Plot the node distribution using the plotter of the node

random()

set_plotter(plotter)

Attributes

plates

plates_multiplier

Plate multiplier is applied to messages to parents