Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class FeatureValueDomain.
Domain 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.
Generated from protobuf message google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_value |
float
The minimum permissible value for this feature. |
↳ max_value |
float
The maximum permissible value for this feature. |
↳ original_mean |
float
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. |
↳ original_stddev |
float
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. |
getMinValue
The minimum permissible value for this feature.
Generated from protobuf field float min_value = 1;
Returns | |
---|---|
Type | Description |
float |
setMinValue
The minimum permissible value for this feature.
Generated from protobuf field float min_value = 1;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMaxValue
The maximum permissible value for this feature.
Generated from protobuf field float max_value = 2;
Returns | |
---|---|
Type | Description |
float |
setMaxValue
The maximum permissible value for this feature.
Generated from protobuf field float max_value = 2;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
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.
Generated from protobuf field float original_mean = 3;
Returns | |
---|---|
Type | Description |
float |
setOriginalMean
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.
Generated from protobuf field float original_mean = 3;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
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.
Generated from protobuf field float original_stddev = 4;
Returns | |
---|---|
Type | Description |
float |
setOriginalStddev
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.
Generated from protobuf field float original_stddev = 4;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |