Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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.

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).