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