FeatureStatsAndAnomaly class final

Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes Drift.

Inheritance
  • Object
  • ProtoMessage
  • FeatureStatsAndAnomaly

Constructors

FeatureStatsAndAnomaly({String featureId = '', Value? featureStats, double distributionDeviation = 0, double driftDetectionThreshold = 0, bool driftDetected = false, Timestamp? statsTime, int featureMonitorJobId = 0, String featureMonitorId = ''})
FeatureStatsAndAnomaly.fromJson(Object? j)
factory

Properties

distributionDeviation double
Deviation from the current stats to baseline stats.
final
driftDetected bool
If set to true, indicates current stats is detected as and comparing with baseline stats.
final
driftDetectionThreshold double
This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
final
featureId String
Feature Id.
final
featureMonitorId String
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
final
featureMonitorJobId int
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
final
featureStats → Value?
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statsTime → Timestamp?
The timestamp we take snapshot for feature values to generate stats.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String