The ExampleValidator TFX Pipeline Component
Stay organized with collections
Save and categorize content based on your preferences.
The ExampleValidator pipeline component identifies anomalies in training and serving
data. It can detect different classes of anomalies in the data. For example it
can:
- perform validity checks by comparing data statistics against a schema that
codifies expectations of the user.
- detect training-serving skew by comparing training and serving
data.
- detect data drift by looking at a series of data.
- perform custom validations using a SQL-based configuration.
The ExampleValidator pipeline component identifies any anomalies in the example data
by comparing data statistics computed by the StatisticsGen pipeline component against a
schema. The inferred schema codifies properties which the input data is expected to
satisfy, and can be modified by the developer.
- Consumes: A schema from a SchemaGen component, and statistics from a StatisticsGen
component.
- Emits: Validation results
ExampleValidator and TensorFlow Data Validation
ExampleValidator makes extensive use of TensorFlow Data Validation
for validating your input data.
Using the ExampleValidator Component
An ExampleValidator pipeline component is typically very easy to deploy and
requires little customization. Typical code looks like this:
validate_stats = ExampleValidator(
statistics=statistics_gen.outputs['statistics'],
schema=schema_gen.outputs['schema']
)
More details are available in the
ExampleValidator API reference.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-06 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-06 UTC."],[],[]]