Class BacktestResult (0.1.0)

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

BacktestResult is created to test the performance of a model on a dataset.

Attributes

Name Description
name str
Output only. The resource name of the BacktestResult. format: "/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_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.BacktestResult.State
Output only. State of the BacktestResult (creating, active, deleting, etc.)
dataset str
Required. The resource name of the Dataset to backtest on Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}".
model str
Required. The resource name of the Model to use or to backtest. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}".
end_time google.protobuf.timestamp_pb2.Timestamp
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for backtesting. End_time should be no later than the end of the date_range of the primary dataset.
backtest_periods int
The number of consecutive months to conduct backtesting for, ending with the last full month prior to the end_time according to the dataset's timezone.
performance_target google.cloud.financialservices_v1.types.BacktestResult.PerformanceTarget
Required. PerformanceTarget gives information on how the test will be evaluated.
line_of_business google.cloud.financialservices_v1.types.LineOfBusiness
Output only. The line of business (Retail/Commercial) this backtest 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.

PerformanceTarget

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

PerformanceTarget gives hints on how to evaluate the performance of a model.

State

State(value)

The possible states of a resource.