public sealed class BacktestResult : IMessage<BacktestResult>, IEquatable<BacktestResult>, IDeepCloneable<BacktestResult>, IBufferMessage, IMessageReference documentation and code samples for the Financial Services v1 API class BacktestResult.
BacktestResult is created to test the performance of a model on a dataset.
Implements
IMessageBacktestResult, IEquatableBacktestResult, IDeepCloneableBacktestResult, IBufferMessage, IMessageNamespace
Google.Cloud.FinancialServices.V1Assembly
Google.Cloud.FinancialServices.V1.dll
Constructors
BacktestResult()
public BacktestResult()BacktestResult(BacktestResult)
public BacktestResult(BacktestResult other)| Parameter | |
|---|---|
| Name | Description |
other |
BacktestResult |
Properties
BacktestPeriods
public int BacktestPeriods { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
int |
|
BacktestResultName
public BacktestResultName BacktestResultName { get; set; }BacktestResultName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
BacktestResultName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The timestamp of creation of this resource.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Dataset
public string Dataset { get; set; }Required. The resource name of the Dataset to backtest on
Format:
/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}
| Property Value | |
|---|---|
| Type | Description |
string |
|
DatasetAsDatasetName
public DatasetName DatasetAsDatasetName { get; set; }DatasetName-typed view over the Dataset resource name property.
| Property Value | |
|---|---|
| Type | Description |
DatasetName |
|
EndTime
public Timestamp EndTime { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Labels
public MapField<string, string> Labels { get; }Labels
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
LineOfBusiness
public LineOfBusiness LineOfBusiness { get; set; }Output only. The line of business (Retail/Commercial) this backtest is for. Determined by Model, cannot be set by user.
| Property Value | |
|---|---|
| Type | Description |
LineOfBusiness |
|
Model
public string Model { get; set; }Required. The resource name of the Model to use or to backtest.
Format:
/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ModelAsModelName
public ModelName ModelAsModelName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ModelName |
|
Name
public string Name { get; set; }Output only. The resource name of the BacktestResult.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_result}
| Property Value | |
|---|---|
| Type | Description |
string |
|
PerformanceTarget
public BacktestResult.Types.PerformanceTarget PerformanceTarget { get; set; }Required. PerformanceTarget gives information on how the test will be evaluated.
| Property Value | |
|---|---|
| Type | Description |
BacktestResultTypesPerformanceTarget |
|
State
public BacktestResult.Types.State State { get; set; }Output only. State of the BacktestResult (creating, active, deleting, etc.)
| Property Value | |
|---|---|
| Type | Description |
BacktestResultTypesState |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The timestamp of the most recent update of this resource.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|