public final class TablesModelColumnInfo extends GeneratedMessageV3 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
Static Fields
COLUMN_DISPLAY_NAME_FIELD_NUMBER
public static final int COLUMN_DISPLAY_NAME_FIELD_NUMBER
Field Value
COLUMN_SPEC_NAME_FIELD_NUMBER
public static final int COLUMN_SPEC_NAME_FIELD_NUMBER
Field Value
FEATURE_IMPORTANCE_FIELD_NUMBER
public static final int FEATURE_IMPORTANCE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TablesModelColumnInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TablesModelColumnInfo.Builder newBuilder()
Returns
newBuilder(TablesModelColumnInfo prototype)
public static TablesModelColumnInfo.Builder newBuilder(TablesModelColumnInfo prototype)
Parameter
Returns
public static TablesModelColumnInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TablesModelColumnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TablesModelColumnInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TablesModelColumnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TablesModelColumnInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TablesModelColumnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TablesModelColumnInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TablesModelColumnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TablesModelColumnInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TablesModelColumnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TablesModelColumnInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TablesModelColumnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TablesModelColumnInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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()
Returns
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.
|
getParserForType()
public Parser<TablesModelColumnInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TablesModelColumnInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TablesModelColumnInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TablesModelColumnInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions