Module: tfdf.py_tree.node

Nodes (leaf and non-leafs) in a tree.

Classes

class AbstractCondition: Generic condition.

class AbstractNode: A decision tree node.

class AbstractValue: A generic value/prediction/output.

class LeafNode: A leaf node i.e. the node containing a prediction/value/output.

class NonLeafNode: A non-leaf node i.e.

class ScanStructureAccumulator: Contains the accumulated results from the "scan_structure" method.

class ScanStructureAccumulatorContainsInt: Contains the accumulated results for "contains" conditions.

class defaultdict: defaultdict(default_factory=None, /, [...]) --> dict with default factory

Functions

core_node_to_node(...): Converts a core node (proto format) into a python node.

node_to_core_node(...): Converts a python node into a core node (proto format).