seldonian.parse_tree.nodes.InternalNode

class InternalNode(name, lower=-inf, upper=inf, **kwargs)

Bases: Node

__init__(name, lower=-inf, upper=inf, **kwargs)

Class for internal (non-leaf) nodes in the parse tree. These represent operators, such as +,-,*,/ etc.

Parameters:
  • name (str) – The name of the node, which is the string representation of the operation the node performs

  • lower (float) – Lower confidence bound

  • upper (float) – Upper confidence bound

__repr__()

The string representation of the node. Also, what is displayed inside the node box in the visual graph

Methods