> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Predictive power score (PPS)

> Learn how to use the predictive power score (PPS) test

## Definition

The PPS is a metric that measures the predictive power of a feature with respect to the label/target. It has similarities
with the Pearson correlation coefficient, but can also capture non-linear relationships. The PPS tests allows you to set
a threshold on the PPS for a specific feature.

## Taxonomy

* **Task types**: Tabular classification, tabular regression.
* **Availability**: <Tooltip tip="Continuously evaluate your models and datasets as you iterate on their versions.">development</Tooltip>
  and <Tooltip tip="Monitor a model in production, measure its health, check for drifts and set up alerts.">monitoring</Tooltip>.

## Why it matters

* Features with a low PPS score are likely to be redundant and can be removed from the dataset.

## Test configuration examples

If you are writing a `tests.json`, here are a few valid configurations for the character length test:

<CodeGroup>
  ```json Development theme={null}
  [
    {
      "name": "PPS for feature 'Age' greater than 0.7",
      "description": "Asserts that the predictive power score of feature 'Age' is greater than 0.7",
      "type": "integrity",
      "subtype": "ppScoreValueValidation",
      "thresholds": [
        {
          "insightName": "ppScore",
          "insightParameters": [{ "name": "name", "value": "Age" }], // Selects feature `Age`
          "measurement": "ppScoreValue",
          "operator": ">",
          "value": 0.7
        }
      ],
      "subpopulationFilters": null,
      "mode": "development",
      "usesValidationDataset": true, // Apply test to the validation set
      "usesTrainingDataset": false,
      "usesMlModel": false,
      "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id
    }
  ]
  ```

  ```json Monitoring theme={null}
  [
    {
      "name": "PPS for feature 'Age' greater than 0.7",
      "description": "Asserts that the predictive power score of feature 'Age' is greater than 0.7",
      "type": "integrity",
      "subtype": "ppScoreValueValidation",
      "thresholds": [
        {
          "insightName": "ppScore",
          "insightParameters": [{ "name": "name", "value": "Age" }], // Selects feature `Age`
          "measurement": "ppScoreValue",
          "operator": ">",
          "value": 0.7
        }
      ],
      "subpopulationFilters": null,
      "mode": "monitoring",
      "usesProductionData": true,
      "evaluationWindow": 3600, // 1 hour
      "delayWindow": 0,
      "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id
    }
  ]
  ```
</CodeGroup>

## Related

* [Correlated features test](/tests/integrity/correlated-feature-count).
* [Predictive power score vs. correlation](https://www.kaggle.com/code/frtgnn/predictive-power-score-vs-correlation).
