# tfdf.py_tree.objective.AbstractObjective

<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/objective.py#L31-L49) |

Abstract objective.

    tfdf.py_tree.objective.AbstractObjective(
        label: str
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `label` | <br /> <br /> |
| `task` | Task value. |

<br />