squlearn.util.optree.OpTreeContainer

class squlearn.util.optree.OpTreeContainer(item: Any)

A container for arbitrary objects that can be used as leafs in the OpTree.

Parameters:

item (Any) – Any kind of item that is represented by the leaf.

copy()

Function for copying a OpTreeLeafContainer object.