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.

class UpliftValue: The uplift value of a classification or regression uplift 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.