Financial Services V1 API - Class Google::Cloud::FinancialServices::V1::PredictionResult (v0.2.0)

Reference documentation and code samples for the Financial Services V1 API class Google::Cloud::FinancialServices::V1::PredictionResult.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#dataset

def dataset() -> ::String
Returns
  • (::String) — Required. The resource name of the Dataset to do predictions on Format: /projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}

#dataset=

def dataset=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Dataset to do predictions on Format: /projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}
Returns
  • (::String) — Required. The resource name of the Dataset to do predictions on Format: /projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::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.

#end_time=

def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::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.
Returns
  • (::Google::Protobuf::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.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels

#line_of_business

def line_of_business() -> ::Google::Cloud::FinancialServices::V1::LineOfBusiness
Returns

#model

def model() -> ::String
Returns
  • (::String) — Required. The resource name of the Model to use to use to make predictions Format: /projects/{project_num}/locations/{location}/instances/{instance}/models/{model}

#model=

def model=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Model to use to use to make predictions Format: /projects/{project_num}/locations/{location}/instances/{instance}/models/{model}
Returns
  • (::String) — Required. The resource name of the Model to use to use to make predictions Format: /projects/{project_num}/locations/{location}/instances/{instance}/models/{model}

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the PredictionResult. format: /projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}

#outputs

def outputs() -> ::Google::Cloud::FinancialServices::V1::PredictionResult::Outputs
Returns

#outputs=

def outputs=(value) -> ::Google::Cloud::FinancialServices::V1::PredictionResult::Outputs
Parameter
Returns

#prediction_periods

def prediction_periods() -> ::Integer
Returns
  • (::Integer) — 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.

#prediction_periods=

def prediction_periods=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#state

def state() -> ::Google::Cloud::FinancialServices::V1::PredictionResult::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns