Send feedback
Class FeatureStatsAndAnomaly (3.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.56.0 keyboard_arrow_down
public final class FeatureStatsAndAnomaly extends GeneratedMessageV3 implements FeatureStatsAndAnomalyOrBuilder
Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes
Drift.
Protobuf type google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DISTRIBUTION_DEVIATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DRIFT_DETECTED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DRIFT_DETECTION_THRESHOLD_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FEATURE_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FEATURE_MONITOR_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FEATURE_MONITOR_JOB_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FEATURE_STATS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATS_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static FeatureStatsAndAnomaly getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static FeatureStatsAndAnomaly . Builder newBuilder ()
public static FeatureStatsAndAnomaly . Builder newBuilder ( FeatureStatsAndAnomaly prototype )
public static FeatureStatsAndAnomaly parseDelimitedFrom ( InputStream input )
public static FeatureStatsAndAnomaly parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FeatureStatsAndAnomaly parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static FeatureStatsAndAnomaly parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static FeatureStatsAndAnomaly parseFrom ( ByteString data )
public static FeatureStatsAndAnomaly parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static FeatureStatsAndAnomaly parseFrom ( CodedInputStream input )
public static FeatureStatsAndAnomaly parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static FeatureStatsAndAnomaly parseFrom ( InputStream input )
public static FeatureStatsAndAnomaly parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FeatureStatsAndAnomaly parseFrom ( ByteBuffer data )
public static FeatureStatsAndAnomaly parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<FeatureStatsAndAnomaly> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public FeatureStatsAndAnomaly getDefaultInstanceForType ()
public double getDistributionDeviation ()
Deviation from the current stats to baseline stats.
For categorical feature, the distribution distance is calculated by
L-inifinity norm.
For numerical feature, the distribution distance is calculated by
Jensen–Shannon divergence.
double distribution_deviation = 3;
Returns
Type
Description
double
The distributionDeviation.
public boolean getDriftDetected ()
If set to true, indicates current stats is detected as and comparing
with baseline stats.
bool drift_detected = 5;
Returns
Type
Description
boolean
The driftDetected.
public 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
Type
Description
double
The driftDetectionThreshold.
public String getFeatureId ()
Feature Id.
string feature_id = 1;
Returns
Type
Description
String
The featureId.
public ByteString getFeatureIdBytes ()
Feature Id.
string feature_id = 1;
Returns
Type
Description
ByteString
The bytes for featureId.
public String getFeatureMonitorId ()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
string feature_monitor_id = 8;
Returns
Type
Description
String
The featureMonitorId.
public ByteString getFeatureMonitorIdBytes ()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
string feature_monitor_id = 8;
Returns
Type
Description
ByteString
The bytes for featureMonitorId.
public long getFeatureMonitorJobId ()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;
Returns
Type
Description
long
The featureMonitorJobId.
public Value getFeatureStats ()
Feature stats. e.g. histogram buckets.
In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;
Returns
Type
Description
Value
The featureStats.
public ValueOrBuilder getFeatureStatsOrBuilder ()
Feature stats. e.g. histogram buckets.
In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;
public Parser<FeatureStatsAndAnomaly> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStatsTime ()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;
Returns
Type
Description
Timestamp
The statsTime.
public TimestampOrBuilder getStatsTimeOrBuilder ()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;
public boolean hasFeatureStats ()
Feature stats. e.g. histogram buckets.
In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;
Returns
Type
Description
boolean
Whether the featureStats field is set.
public boolean hasStatsTime ()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;
Returns
Type
Description
boolean
Whether the statsTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public FeatureStatsAndAnomaly . Builder newBuilderForType ()
protected FeatureStatsAndAnomaly . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public FeatureStatsAndAnomaly . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]