public final class FeatureStatsAndAnomaly extends com.google.protobuf.GeneratedMessageV3 implements FeatureStatsAndAnomalyOrBuilder
Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes Drift.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureStatsAndAnomaly.Builder
Stats and Anomaly generated by FeatureMonitorJobs.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISTRIBUTION_DEVIATION_FIELD_NUMBER |
static int |
DRIFT_DETECTED_FIELD_NUMBER |
static int |
DRIFT_DETECTION_THRESHOLD_FIELD_NUMBER |
static int |
FEATURE_ID_FIELD_NUMBER |
static int |
FEATURE_MONITOR_ID_FIELD_NUMBER |
static int |
FEATURE_MONITOR_JOB_ID_FIELD_NUMBER |
static int |
FEATURE_STATS_FIELD_NUMBER |
static int |
STATS_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FeatureStatsAndAnomaly |
getDefaultInstance() |
FeatureStatsAndAnomaly |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDistributionDeviation()
Deviation from the current stats to baseline stats.
1.
|
boolean |
getDriftDetected()
If set to true, indicates current stats is detected as and comparing
with baseline stats.
|
double |
getDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in
FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4; |
String |
getFeatureId()
Feature Id.
|
com.google.protobuf.ByteString |
getFeatureIdBytes()
Feature Id.
|
String |
getFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
com.google.protobuf.ByteString |
getFeatureMonitorIdBytes()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
long |
getFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
|
com.google.protobuf.Value |
getFeatureStats()
Feature stats. e.g. histogram buckets.
|
com.google.protobuf.ValueOrBuilder |
getFeatureStatsOrBuilder()
Feature stats. e.g. histogram buckets.
|
com.google.protobuf.Parser<FeatureStatsAndAnomaly> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStatsTime()
The timestamp we take snapshot for feature values to generate stats.
|
com.google.protobuf.TimestampOrBuilder |
getStatsTimeOrBuilder()
The timestamp we take snapshot for feature values to generate stats.
|
boolean |
hasFeatureStats()
Feature stats. e.g. histogram buckets.
|
int |
hashCode() |
boolean |
hasStatsTime()
The timestamp we take snapshot for feature values to generate stats.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FeatureStatsAndAnomaly.Builder |
newBuilder() |
static FeatureStatsAndAnomaly.Builder |
newBuilder(FeatureStatsAndAnomaly prototype) |
FeatureStatsAndAnomaly.Builder |
newBuilderForType() |
protected FeatureStatsAndAnomaly.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FeatureStatsAndAnomaly |
parseDelimitedFrom(InputStream input) |
static FeatureStatsAndAnomaly |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureStatsAndAnomaly |
parseFrom(byte[] data) |
static FeatureStatsAndAnomaly |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureStatsAndAnomaly |
parseFrom(ByteBuffer data) |
static FeatureStatsAndAnomaly |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureStatsAndAnomaly |
parseFrom(com.google.protobuf.ByteString data) |
static FeatureStatsAndAnomaly |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureStatsAndAnomaly |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FeatureStatsAndAnomaly |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureStatsAndAnomaly |
parseFrom(InputStream input) |
static FeatureStatsAndAnomaly |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FeatureStatsAndAnomaly> |
parser() |
FeatureStatsAndAnomaly.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FEATURE_ID_FIELD_NUMBER
public static final int FEATURE_STATS_FIELD_NUMBER
public static final int DISTRIBUTION_DEVIATION_FIELD_NUMBER
public static final int DRIFT_DETECTION_THRESHOLD_FIELD_NUMBER
public static final int DRIFT_DETECTED_FIELD_NUMBER
public static final int STATS_TIME_FIELD_NUMBER
public static final int FEATURE_MONITOR_JOB_ID_FIELD_NUMBER
public static final int FEATURE_MONITOR_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getFeatureId()
Feature Id.
string feature_id = 1;getFeatureId in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.ByteString getFeatureIdBytes()
Feature Id.
string feature_id = 1;getFeatureIdBytes in interface FeatureStatsAndAnomalyOrBuilderpublic boolean hasFeatureStats()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;hasFeatureStats in interface FeatureStatsAndAnomalyOrBuilderpublic 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;getFeatureStats in interface FeatureStatsAndAnomalyOrBuilderpublic 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;getFeatureStatsOrBuilder in interface FeatureStatsAndAnomalyOrBuilderpublic 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;getDistributionDeviation in interface FeatureStatsAndAnomalyOrBuilderpublic double getDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4;getDriftDetectionThreshold in interface FeatureStatsAndAnomalyOrBuilderpublic boolean getDriftDetected()
If set to true, indicates current stats is detected as and comparing with baseline stats.
bool drift_detected = 5;getDriftDetected in interface FeatureStatsAndAnomalyOrBuilderpublic boolean hasStatsTime()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;hasStatsTime in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.Timestamp getStatsTime()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;getStatsTime in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStatsTimeOrBuilder()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;getStatsTimeOrBuilder in interface FeatureStatsAndAnomalyOrBuilderpublic long getFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;getFeatureMonitorJobId in interface FeatureStatsAndAnomalyOrBuilderpublic String getFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;getFeatureMonitorId in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.ByteString getFeatureMonitorIdBytes()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;getFeatureMonitorIdBytes in interface FeatureStatsAndAnomalyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FeatureStatsAndAnomaly parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureStatsAndAnomaly parseFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureStatsAndAnomaly parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureStatsAndAnomaly parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureStatsAndAnomaly parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FeatureStatsAndAnomaly.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FeatureStatsAndAnomaly.Builder newBuilder()
public static FeatureStatsAndAnomaly.Builder newBuilder(FeatureStatsAndAnomaly prototype)
public FeatureStatsAndAnomaly.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FeatureStatsAndAnomaly.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FeatureStatsAndAnomaly getDefaultInstance()
public static com.google.protobuf.Parser<FeatureStatsAndAnomaly> parser()
public com.google.protobuf.Parser<FeatureStatsAndAnomaly> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FeatureStatsAndAnomaly getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.