Definition

The empty features test allows you to select a feature and set expectations if it can be empty (only null values) or not.

Taxonomy

  • Category: Integrity.
  • Task types: Tabular classification, tabular regression.
  • Availability: and .

Why it matters

  • Empty features contain no information and can indicate that there is a problem with the data collection/ingestion process.

Test configuration examples

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

[
  {
    "name": "Feature 'Year' is not empty",
    "description": "Asserts that the feature 'Year' is not empty",
    "type": "integrity",
    "subtype": "emptyFeature",
    "thresholds": [
      {
        "insightName": "featureProfile",
        "insightParameters": [{ "name": "name", "value": "Year" }], // Selects the feature
        "measurement": "isEmpty",
        "operator": "is",
        "value": false
      }
    ],
    "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
  }
]