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
Methods
__init__
(*nodes[, axis])add_plate_axis
(to_plate)broadcasting_multiplier
(plates, *args)delete
()Delete this node and the children
get_mask
()get_shape
(ind)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
Plate multiplier is applied to messages to parents