# tfdf.keras.Monotonic

<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/keras/core.py#L119-L123) |

Monotonic constraint between a feature and the model output.

Inherits From: [`Enum`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/builder/Enum)

#### View aliases


**Main aliases**

[`tfdf.keras.core.Monotonic`](https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/keras/Monotonic)

<br />

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| DECREASING | `<Monotonic.DECREASING: 2>` |
| INCREASING | `<Monotonic.INCREASING: 1>` |

<br />