Represents a TablesModelMetadata.
Package
@google-cloud/automl!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.automl.v1beta1.ITablesModelMetadata);
Constructs a new TablesModelMetadata.
Name | Description |
properties |
ITablesModelMetadata
Properties to set |
Properties
additionalOptimizationObjectiveConfig
public additionalOptimizationObjectiveConfig?: ("optimizationObjectiveRecallValue"|"optimizationObjectivePrecisionValue");
TablesModelMetadata additionalOptimizationObjectiveConfig.
Type | Description |
("optimizationObjectiveRecallValue"|"optimizationObjectivePrecisionValue") |
disableEarlyStopping
public disableEarlyStopping: boolean;
TablesModelMetadata disableEarlyStopping.
Type | Description |
boolean |
inputFeatureColumnSpecs
public inputFeatureColumnSpecs: google.cloud.automl.v1beta1.IColumnSpec[];
TablesModelMetadata inputFeatureColumnSpecs.
Type | Description |
google.cloud.automl.v1beta1.IColumnSpec[] |
optimizationObjective
public optimizationObjective: string;
TablesModelMetadata optimizationObjective.
Type | Description |
string |
optimizationObjectivePrecisionValue
public optimizationObjectivePrecisionValue?: (number|null);
TablesModelMetadata optimizationObjectivePrecisionValue.
Type | Description |
(number|null) |
optimizationObjectiveRecallValue
public optimizationObjectiveRecallValue?: (number|null);
TablesModelMetadata optimizationObjectiveRecallValue.
Type | Description |
(number|null) |
tablesModelColumnInfo
public tablesModelColumnInfo: google.cloud.automl.v1beta1.ITablesModelColumnInfo[];
TablesModelMetadata tablesModelColumnInfo.
Type | Description |
google.cloud.automl.v1beta1.ITablesModelColumnInfo[] |
targetColumnSpec
public targetColumnSpec?: (google.cloud.automl.v1beta1.IColumnSpec|null);
TablesModelMetadata targetColumnSpec.
Type | Description |
(google.cloud.automl.v1beta1.IColumnSpec|null) |
trainBudgetMilliNodeHours
public trainBudgetMilliNodeHours: (number|Long|string);
TablesModelMetadata trainBudgetMilliNodeHours.
Type | Description |
(number|Long|string) |
trainCostMilliNodeHours
public trainCostMilliNodeHours: (number|Long|string);
TablesModelMetadata trainCostMilliNodeHours.
Type | Description |
(number|Long|string) |
Methods
create(properties)
public static create(properties?: google.cloud.automl.v1beta1.ITablesModelMetadata): google.cloud.automl.v1beta1.TablesModelMetadata;
Creates a new TablesModelMetadata instance using the specified properties.
Name | Description |
properties |
ITablesModelMetadata
Properties to set |
Type | Description |
google.cloud.automl.v1beta1.TablesModelMetadata | TablesModelMetadata instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.automl.v1beta1.TablesModelMetadata;
Decodes a TablesModelMetadata message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.automl.v1beta1.TablesModelMetadata | TablesModelMetadata |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.automl.v1beta1.TablesModelMetadata;
Decodes a TablesModelMetadata message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.automl.v1beta1.TablesModelMetadata | TablesModelMetadata |
encode(message, writer)
public static encode(message: google.cloud.automl.v1beta1.ITablesModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified TablesModelMetadata message. Does not implicitly messages.
Name | Description |
message |
ITablesModelMetadata
TablesModelMetadata message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.automl.v1beta1.ITablesModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified TablesModelMetadata message, length delimited. Does not implicitly messages.
Name | Description |
message |
ITablesModelMetadata
TablesModelMetadata message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.automl.v1beta1.TablesModelMetadata;
Creates a TablesModelMetadata message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.automl.v1beta1.TablesModelMetadata | TablesModelMetadata |
toJSON()
public toJSON(): { [k: string]: any };
Converts this TablesModelMetadata to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.automl.v1beta1.TablesModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a TablesModelMetadata message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.automl.v1beta1.TablesModelMetadata
TablesModelMetadata |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a TablesModelMetadata message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|