public static final class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder extends GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder> implements ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilderDomain details of the input feature value. Provides numeric information about the feature, such as its range (min, max). If the feature has been pre-processed, for example with z-scoring, then it provides information about how to recover the original feature. For example, if the input feature is an image and it has been pre-processed to obtain 0-mean and stddev = 1 values, then original_mean, and original_stddev refer to the mean and stddev of the original feature (e.g. image tensor) from which input feature (with mean = 0 and stddev = 1) was obtained.
Protobuf type
google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExplanationMetadata.InputMetadata.FeatureValueDomain.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExplanationMetadata.InputMetadata.FeatureValueDomain build()| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain |
|
buildPartial()
public ExplanationMetadata.InputMetadata.FeatureValueDomain buildPartial()| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain |
|
clear()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
|
clearMaxValue()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMaxValue()The maximum permissible value for this feature.
float max_value = 2;
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
clearMinValue()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMinValue()The minimum permissible value for this feature.
float min_value = 1;
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
clearOriginalMean()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOriginalMean()If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.
float original_mean = 3;
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
clearOriginalStddev()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOriginalStddev()If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.
float original_stddev = 4;
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExplanationMetadata.InputMetadata.FeatureValueDomain getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaxValue()
public float getMaxValue()The maximum permissible value for this feature.
float max_value = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The maxValue. |
getMinValue()
public float getMinValue()The minimum permissible value for this feature.
float min_value = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The minValue. |
getOriginalMean()
public float getOriginalMean()If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.
float original_mean = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The originalMean. |
getOriginalStddev()
public float getOriginalStddev()If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.
float original_stddev = 4;
| Returns | |
|---|---|
| Type | Description |
float |
The originalStddev. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)| Parameter | |
|---|---|
| Name | Description |
other |
ExplanationMetadata.InputMetadata.FeatureValueDomain |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
|
setMaxValue(float value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMaxValue(float value)The maximum permissible value for this feature.
float max_value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe maxValue to set. |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
setMinValue(float value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMinValue(float value)The minimum permissible value for this feature.
float min_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe minValue to set. |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
setOriginalMean(float value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setOriginalMean(float value)If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.
float original_mean = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe originalMean to set. |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |
setOriginalStddev(float value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setOriginalStddev(float value)If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.
float original_stddev = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe originalStddev to set. |
| Returns | |
|---|---|
| Type | Description |
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder |
This builder for chaining. |