FeatureStatsAndAnomaly Stay organized with collections Save and categorize content based on your preferences.
Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes Drift.
featureIdstringfeature id.
featureStatsvalue (Value format)feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
distributionDeviationnumberDeviation from the current stats to baseline stats. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence.
driftDetectionThresholdnumberThis is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
driftDetectedbooleanIf set to true, indicates current stats is detected as and comparing with baseline stats.
statsTimestring (Timestamp format)The timestamp we take snapshot for feature values to generate stats.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z" or"2014-10-02T15:01:23+05:30".
featureMonitorJobIdstring (int64 format)The id of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
featureMonitorIdstringThe id of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
| JSON representation |
|---|
{"featureId":string,"featureStats":value,"distributionDeviation":number,"driftDetectionThreshold":number,"driftDetected":boolean,"statsTime":string,"featureMonitorJobId":string,"featureMonitorId":string} |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-22 UTC.