# Module: tfdf.py_tree.value

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/py_tree/value.py) |

The value/prediction/output of a leaf node.

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

## Classes

[`class AbstractValue`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/node/AbstractValue): A generic value/prediction/output.

[`class ProbabilityValue`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/value/ProbabilityValue): A probability distribution value.

[`class RegressionValue`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/value/RegressionValue): The regression value of a regressive tree.

[`class UpliftValue`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/value/UpliftValue): The uplift value of a classification or regression uplift tree.

## Functions

[`core_value_to_value(...)`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/value/core_value_to_value): Converts a core value (proto format) into a python value.

[`set_core_node(...)`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/value/set_core_node): Sets a core node (proto format) from a python value.