squlearn.util.optree.OpTreeValue

class squlearn.util.optree.OpTreeValue(value: float)

A leaf that contains an evaluated value.

Parameters:

value (float) – A float value that is represented by the leaf.

copy()

Function for copying a OpTreeLeafValue object.