> ## 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.

# Features missing values

> Learn how to use the features missing values test

## Definition

The features missing values test allows you to specify the number (or percentage) of missing values that are allowed for each 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

* Missing values can have a direct impact on model performance.
* The values missing from certain features can indicate issues with the data collection/ingestion process.
* Measuring and tracking the number of missing values can inform the imputation strategies to be used.

## 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": "Feature 'Year' does not contain missing values",
      "description": "Asserts that the feature 'Year' does not contain missing values",
      "type": "integrity",
      "subtype": "featureMissingValues",
      "thresholds": [
        {
          "insightName": "featureProfile",
          "insightParameters": [
            { "name": "name", "value": "Year" } // Selects feature `Year`
          ],
          "measurement": "percentMissingValues", // Must be one of `percentMissingValues` or `numMissingValues`
          "operator": "<=",
          "value": 0.0
        }
      ],
      "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": "Feature 'Year' does not contain missing values",
      "description": "Asserts that the feature 'Year' does not contain missing values",
      "type": "integrity",
      "subtype": "featureMissingValues",
      "thresholds": [
        {
          "insightName": "featureProfile",
          "insightParameters": [
            { "name": "name", "value": "Year" } // Selects feature `Year`
          ],
          "measurement": "percentMissingValues", // Must be one of `percentMissingValues` or `numMissingValues`
          "operator": "<=",
          "value": 0.0
        }
      ],
      "subpopulationFilters": null,
      "mode": "monitoring",
      "usesProductionData": true,
      "evaluationWindow": 3600, // 1 hour
      "delayWindow": 0,
      "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id
    }
  ]
  ```
</CodeGroup>

## Related

* [Null rows test](/tests/integrity/null-count).
