public sealed class PredictionResult : IMessage<PredictionResult>, IEquatable<PredictionResult>, IDeepCloneable<PredictionResult>, IBufferMessage, IMessageReference documentation and code samples for the Financial Services v1 API class PredictionResult.
PredictionResult is the result of using a model to create predictions.
Implements
IMessagePredictionResult, IEquatablePredictionResult, IDeepCloneablePredictionResult, IBufferMessage, IMessageNamespace
Google.Cloud.FinancialServices.V1Assembly
Google.Cloud.FinancialServices.V1.dll
Constructors
PredictionResult()
public PredictionResult()PredictionResult(PredictionResult)
public PredictionResult(PredictionResult other)| Parameter | |
|---|---|
| Name | Description |
other |
PredictionResult |
Properties
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 do predictions on
Format:
/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}
| 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. 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][google.cloud.financialservices.v1.Dataset.date_range] of the 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 prediction 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 to use to make predictions
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 PredictionResult.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Outputs
public PredictionResult.Types.Outputs Outputs { get; set; }Required. Where to write the output of the predictions.
| Property Value | |
|---|---|
| Type | Description |
PredictionResultTypesOutputs |
|
PredictionPeriods
public int PredictionPeriods { get; set; }The number of consecutive months to produce predictions for, ending with the last full month prior to [end_time][google.cloud.financialservices.v1.PredictionResult.end_time] according to the dataset's timezone.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PredictionResultName
public PredictionResultName PredictionResultName { get; set; }PredictionResultName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
PredictionResultName |
|
State
public PredictionResult.Types.State State { get; set; }Output only. State of the PredictionResult (creating, active, deleting, etc.)
| Property Value | |
|---|---|
| Type | Description |
PredictionResultTypesState |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The timestamp of the most recent update of this resource.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|