public static final class TablesModelColumnInfo.Builder extends GeneratedMessageV3.Builder<TablesModelColumnInfo.Builder> implements TablesModelColumnInfoOrBuilder
An information specific to given column and Tables Model, in context
of the Model and the predictions created by it.
Protobuf type google.cloud.automl.v1beta1.TablesModelColumnInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TablesModelColumnInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TablesModelColumnInfo build()
buildPartial()
public TablesModelColumnInfo buildPartial()
clear()
public TablesModelColumnInfo.Builder clear()
Overrides
clearColumnDisplayName()
public TablesModelColumnInfo.Builder clearColumnDisplayName()
Output only. The display name of the column (same as the display_name of
its ColumnSpec).
string column_display_name = 2;
clearColumnSpecName()
public TablesModelColumnInfo.Builder clearColumnSpecName()
Output only. The name of the ColumnSpec describing the column. Not
populated when this proto is outputted to BigQuery.
string column_spec_name = 1;
clearFeatureImportance()
public TablesModelColumnInfo.Builder clearFeatureImportance()
Output only. When given as part of a Model (always populated):
Measurement of how much model predictions correctness on the TEST data
depend on values in this column. A value between 0 and 1, higher means
higher influence. These values are normalized - for all input feature
columns of a given model they add to 1.
When given back by Predict (populated iff
feature_importance
param is set) or Batch
Predict (populated iff
feature_importance
param is set):
Measurement of how impactful for the prediction returned for the given row
the value in this column was. Specifically, the feature importance
specifies the marginal contribution that the feature made to the prediction
score compared to the baseline score. These values are computed using the
Sampled Shapley method.
float feature_importance = 3;
clearField(Descriptors.FieldDescriptor field)
public TablesModelColumnInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TablesModelColumnInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TablesModelColumnInfo.Builder clone()
Overrides
getColumnDisplayName()
public String getColumnDisplayName()
Output only. The display name of the column (same as the display_name of
its ColumnSpec).
string column_display_name = 2;
Returns |
---|
Type | Description |
String | The columnDisplayName.
|
getColumnDisplayNameBytes()
public ByteString getColumnDisplayNameBytes()
Output only. The display name of the column (same as the display_name of
its ColumnSpec).
string column_display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for columnDisplayName.
|
getColumnSpecName()
public String getColumnSpecName()
Output only. The name of the ColumnSpec describing the column. Not
populated when this proto is outputted to BigQuery.
string column_spec_name = 1;
Returns |
---|
Type | Description |
String | The columnSpecName.
|
getColumnSpecNameBytes()
public ByteString getColumnSpecNameBytes()
Output only. The name of the ColumnSpec describing the column. Not
populated when this proto is outputted to BigQuery.
string column_spec_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for columnSpecName.
|
getDefaultInstanceForType()
public TablesModelColumnInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFeatureImportance()
public float getFeatureImportance()
Output only. When given as part of a Model (always populated):
Measurement of how much model predictions correctness on the TEST data
depend on values in this column. A value between 0 and 1, higher means
higher influence. These values are normalized - for all input feature
columns of a given model they add to 1.
When given back by Predict (populated iff
feature_importance
param is set) or Batch
Predict (populated iff
feature_importance
param is set):
Measurement of how impactful for the prediction returned for the given row
the value in this column was. Specifically, the feature importance
specifies the marginal contribution that the feature made to the prediction
score compared to the baseline score. These values are computed using the
Sampled Shapley method.
float feature_importance = 3;
Returns |
---|
Type | Description |
float | The featureImportance.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TablesModelColumnInfo other)
public TablesModelColumnInfo.Builder mergeFrom(TablesModelColumnInfo other)
public TablesModelColumnInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TablesModelColumnInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TablesModelColumnInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setColumnDisplayName(String value)
public TablesModelColumnInfo.Builder setColumnDisplayName(String value)
Output only. The display name of the column (same as the display_name of
its ColumnSpec).
string column_display_name = 2;
Parameter |
---|
Name | Description |
value | String
The columnDisplayName to set.
|
setColumnDisplayNameBytes(ByteString value)
public TablesModelColumnInfo.Builder setColumnDisplayNameBytes(ByteString value)
Output only. The display name of the column (same as the display_name of
its ColumnSpec).
string column_display_name = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for columnDisplayName to set.
|
setColumnSpecName(String value)
public TablesModelColumnInfo.Builder setColumnSpecName(String value)
Output only. The name of the ColumnSpec describing the column. Not
populated when this proto is outputted to BigQuery.
string column_spec_name = 1;
Parameter |
---|
Name | Description |
value | String
The columnSpecName to set.
|
setColumnSpecNameBytes(ByteString value)
public TablesModelColumnInfo.Builder setColumnSpecNameBytes(ByteString value)
Output only. The name of the ColumnSpec describing the column. Not
populated when this proto is outputted to BigQuery.
string column_spec_name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for columnSpecName to set.
|
setFeatureImportance(float value)
public TablesModelColumnInfo.Builder setFeatureImportance(float value)
Output only. When given as part of a Model (always populated):
Measurement of how much model predictions correctness on the TEST data
depend on values in this column. A value between 0 and 1, higher means
higher influence. These values are normalized - for all input feature
columns of a given model they add to 1.
When given back by Predict (populated iff
feature_importance
param is set) or Batch
Predict (populated iff
feature_importance
param is set):
Measurement of how impactful for the prediction returned for the given row
the value in this column was. Specifically, the feature importance
specifies the marginal contribution that the feature made to the prediction
score compared to the baseline score. These values are computed using the
Sampled Shapley method.
float feature_importance = 3;
Parameter |
---|
Name | Description |
value | float
The featureImportance to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TablesModelColumnInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TablesModelColumnInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TablesModelColumnInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides