ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Module: tfdf.py_tree.value

The value/prediction/output of a leaf node.

Non-leaf nodes can also have a value for debugging or model interpretation.


class AbstractValue: A generic value/prediction/output.

class ProbabilityValue: A probability distribution value.

class RegressionValue: The regression value of a regressive tree.


core_value_to_value(...): Converts a core value (proto format) into a python value.

set_core_node(...): Sets a core node (proto format) from a python value.