pymc.model.core.Model.add_named_variable#

Model.add_named_variable(var, dims=None)[source]#

Add a random graph variable to the named variables of the model.

This can include several types of variables such basic_RVs, Data, Deterministics, and Potentials.

Parameters:
var
dimstuple, optional