bayespy.nodes.Function

class bayespy.nodes.Function(function, *nodes_gradients, shape=None, **kwargs)[source]
__init__(function, *nodes_gradients, shape=None, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(function, *nodes_gradients[, shape]) Initialize self.
add_plate_axis(to_plate)
broadcasting_multiplier(*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