ModelBuilder
ModelBuilder#
- class liesel.liesel.model.ModelBuilder(nodes=None, groups=None)[source]#
Bases:
objectA builder class for the
Model.Methods
add_groups(*groups)Adds node groups to the model builder.
add_nodes(*nodes)Adds nodes to the model builder.
Returns a list of all unique nodes that will be part of the model, including the nodes from the groups and the inputs.
build()Builds the model, including the inputs.
Attributes
A list of node groups to be added to the model.
A list of nodes to be added to the model.