Class CustomTuningModel (0.13.5)

CustomTuningModel(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata that describes a custom tuned model.

Attributes

Name Description
name str
Required. The fully qualified resource name of the model. Format: projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model} model must be an alpha-numerical string with limit of 40 characters.
display_name str
The display name of the model.
model_version int
The version of the model.
model_state google.cloud.discoveryengine_v1alpha.types.CustomTuningModel.ModelState
The state that the model is in (e.g.TRAINING or TRAINING_FAILED).
create_time google.protobuf.timestamp_pb2.Timestamp
Timestamp the Model was created at.
training_start_time google.protobuf.timestamp_pb2.Timestamp
Timestamp the model training was initiated.
metrics MutableMapping[str, float]
The metrics of the trained model.

Classes

MetricsEntry

MetricsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ModelState

ModelState(value)

The state of the model.