Interface FeatureStatsAndAnomalyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FeatureStatsAndAnomaly, FeatureStatsAndAnomaly.Builder

@Generated public interface FeatureStatsAndAnomalyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Deviation from the current stats to baseline stats. 1.
    boolean
    If set to true, indicates current stats is detected as and comparing with baseline stats.
    double
    This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
    Feature Id.
    com.google.protobuf.ByteString
    Feature Id.
    The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
    com.google.protobuf.ByteString
    The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
    long
    The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
    com.google.protobuf.Value
    Feature stats. e.g. histogram buckets.
    com.google.protobuf.ValueOrBuilder
    Feature stats. e.g. histogram buckets.
    com.google.protobuf.Timestamp
    The timestamp we take snapshot for feature values to generate stats.
    com.google.protobuf.TimestampOrBuilder
    The timestamp we take snapshot for feature values to generate stats.
    boolean
    Feature stats. e.g. histogram buckets.
    boolean
    The timestamp we take snapshot for feature values to generate stats.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFeatureId

      String getFeatureId()
       Feature Id.
       
      string feature_id = 1;
      Returns:
      The featureId.
    • getFeatureIdBytes

      com.google.protobuf.ByteString getFeatureIdBytes()
       Feature Id.
       
      string feature_id = 1;
      Returns:
      The bytes for featureId.
    • hasFeatureStats

      boolean hasFeatureStats()
       Feature stats. e.g. histogram buckets.
       In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
       
      .google.protobuf.Value feature_stats = 2;
      Returns:
      Whether the featureStats field is set.
    • getFeatureStats

      com.google.protobuf.Value getFeatureStats()
       Feature stats. e.g. histogram buckets.
       In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
       
      .google.protobuf.Value feature_stats = 2;
      Returns:
      The featureStats.
    • getFeatureStatsOrBuilder

      com.google.protobuf.ValueOrBuilder getFeatureStatsOrBuilder()
       Feature stats. e.g. histogram buckets.
       In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
       
      .google.protobuf.Value feature_stats = 2;
    • getDistributionDeviation

      double getDistributionDeviation()
       Deviation 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.
       
      double distribution_deviation = 3;
      Returns:
      The distributionDeviation.
    • getDriftDetectionThreshold

      double getDriftDetectionThreshold()
       This is the threshold used when detecting drifts, which is set in
       FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
       
      double drift_detection_threshold = 4;
      Returns:
      The driftDetectionThreshold.
    • getDriftDetected

      boolean getDriftDetected()
       If set to true, indicates current stats is detected as and comparing
       with baseline stats.
       
      bool drift_detected = 5;
      Returns:
      The driftDetected.
    • hasStatsTime

      boolean hasStatsTime()
       The timestamp we take snapshot for feature values to generate stats.
       
      .google.protobuf.Timestamp stats_time = 6;
      Returns:
      Whether the statsTime field is set.
    • getStatsTime

      com.google.protobuf.Timestamp getStatsTime()
       The timestamp we take snapshot for feature values to generate stats.
       
      .google.protobuf.Timestamp stats_time = 6;
      Returns:
      The statsTime.
    • getStatsTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStatsTimeOrBuilder()
       The timestamp we take snapshot for feature values to generate stats.
       
      .google.protobuf.Timestamp stats_time = 6;
    • getFeatureMonitorJobId

      long getFeatureMonitorJobId()
       The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
       
      int64 feature_monitor_job_id = 7;
      Returns:
      The featureMonitorJobId.
    • getFeatureMonitorId

      String getFeatureMonitorId()
       The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
       according to.
       
      string feature_monitor_id = 8;
      Returns:
      The featureMonitorId.
    • getFeatureMonitorIdBytes

      com.google.protobuf.ByteString getFeatureMonitorIdBytes()
       The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
       according to.
       
      string feature_monitor_id = 8;
      Returns:
      The bytes for featureMonitorId.