# tfdf.py_tree.value.UpliftValue

<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#L127-L163) |

The uplift value of a classification or regression uplift tree.

Inherits From: [`AbstractValue`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/py_tree/node/AbstractValue)

    tfdf.py_tree.value.UpliftValue(
        treatment_effect: List[float], num_examples: Optional[float] = 1.0
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `treatment_effect` | Effect of the "i+1"-th treatment compared to the control group. |
| `num_examples` | Number of example in the node. |

<br />

## Methods

### `__eq__`

[View source](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/py_tree/value.py#L157-L163)

    __eq__(
        other
    )

Return self==value.