Class PredictionResult (0.1.0)

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

PredictionResult is the result of using a model to create predictions.

Attributes

Name Description
name str
Output only. The resource name of the PredictionResult. format: "/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}".
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp of creation of this resource.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp of the most recent update of this resource.
labels MutableMapping[str, str]
Labels
state google.cloud.financialservices_v1.types.PredictionResult.State
Output only. State of the PredictionResult (creating, active, deleting, etc.)
dataset str
Required. The resource name of the Dataset to do predictions on Format: "/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}".
model str
Required. The resource name of the Model to use to use to make predictions Format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}".
end_time google.protobuf.timestamp_pb2.Timestamp
Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the date_range of the dataset.
prediction_periods int
The number of consecutive months to produce predictions for, ending with the last full month prior to end_time according to the dataset's timezone.
outputs google.cloud.financialservices_v1.types.PredictionResult.Outputs
Required. Where to write the output of the predictions.
line_of_business google.cloud.financialservices_v1.types.LineOfBusiness
Output only. The line of business (Retail/Commercial) this prediction is for. Determined by Model, cannot be set by user.

Classes

LabelsEntry

LabelsEntry(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.

Outputs

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

Outputs is a list of places where the operation will write results.

State

State(value)

The possible states of a resource.