# Fairness

> Fairness - Monitor the fairness of deployed production models over time.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:10.028614+00:00` (UTC).

## Primary page

- [Fairness](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/nxt-fairness.html): Full documentation for this topic (HTML).

## Sections on this page

- [Investigate bias](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/nxt-fairness.html#investigate-bias): In-page section heading.
- [View per-class bias](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/nxt-fairness.html#view-per-class-bias): In-page section heading.
- [View fairness over time](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/nxt-fairness.html#view-fairness-over-time): In-page section heading.
- [Feature considerations](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/nxt-fairness.html#feature-considerations): In-page section heading.

## Related documentation

- [NextGen UI documentation](https://docs.datarobot.com/en/docs/workbench/index.html): Linked from this page.
- [Console](https://docs.datarobot.com/en/docs/workbench/nxt-console/index.html): Linked from this page.
- [Monitoring](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-monitoring/index.html): Linked from this page.
- [fairness settings](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-settings/nxt-fairness-settings.html): Linked from this page.
- [provide training data and enable target monitoring](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-settings/nxt-data-drift-settings.html): Linked from this page.
- [per-class bias](https://docs.datarobot.com/en/docs/classic-ui/modeling/analyze-models/bias/per-class.html): Linked from this page.
- [fairness scores](https://docs.datarobot.com/en/docs/reference/pred-ai-ref/bias-ref.html#fairness-score): Linked from this page.

## Documentation content

After you configure a deployment's [fairness settings](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-settings/nxt-fairness-settings.html), you can use the Monitoring > Fairness tab to configure tests that allow models to monitor and recognize, in real time, when protected features in the dataset fail to meet predefined fairness conditions.

> [!NOTE] Fairness monitoring requirements
> To configure fairness settings, the model's target type must be binary classification, and you must [provide training data and enable target monitoring](https://docs.datarobot.com/en/docs/workbench/nxt-console/nxt-settings/nxt-data-drift-settings.html) for the deployment. Target monitoring allows DataRobot to monitor how the values and distributions of the target change over time by storing prediction statistics. If target monitoring is turned off, a message displays on the Fairness tab to remind you to enable it.

## Investigate bias

The Fairness tab helps you understand why a deployment is failing fairness tests and which protected features are below the predefined fairness threshold. It provides two interactive and exportable visualizations that help identify which feature is failing fairness testing and why.

|  | Chart | Description |
| --- | --- | --- |
| (1) | Aggregate Fairness / Per-Class Bias | Uses the fairness threshold and fairness score of each class to determine if certain classes are experiencing bias in the model's predictive behavior. |
| (2) | Fairness Over Time | Illustrates how the distribution of a protected feature's fairness scores have changed over time. |

### View per-class bias

The Aggregate Fairness chart helps to identify if a model is biased, and if so, how much and who it's biased towards or against. You can click a feature to view the per-class bias. For more information, see the documentation on [per-class bias](https://docs.datarobot.com/en/docs/classic-ui/modeling/analyze-models/bias/per-class.html). If a feature is identified as Below Threshold, the feature does not meet the predefined fairness conditions. Click the Below Threshold feature on the left to display the per-class fairness scores for each segmented attribute and better understand where bias exists within the feature.

Hover over a point on the chart to view its details:

### View fairness over time

After configuring fairness criteria and making predictions with fairness monitoring enabled, you can view how [fairness scores](https://docs.datarobot.com/en/docs/reference/pred-ai-ref/bias-ref.html#fairness-score) of the protected feature or feature values have changed over time for a deployment. The X-axis measures the range of time that predictions have been made for the deployment, and the Y-axis measures the fairness score.

Hover over a point on the chart to view its details:

You can also hide specific features or feature values from the chart by unchecking the box next to its name:

## Feature considerations

- Bias and Fairness monitoring is only available for binary classification models and deployments.
- To upload actuals for predictions, an association ID is required. It is also used to calculate True Positive & Negative Rate Parity and Positive & Negative Predictive Value Parity.
