Reference documentation and code samples for the Financial Services V1 API class Google::Cloud::FinancialServices::V1::EngineConfig.
The EngineConfig resource creates the configuration for training a model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of creation of this resource.
#engine_version
def engine_version() -> ::String
Returns
-
(::String) — Required. The resource name of the EngineVersion used in this model tuning.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}
#engine_version=
def engine_version=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the EngineVersion used in this model tuning.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}
Returns
-
(::String) — Required. The resource name of the EngineVersion used in this model tuning.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}
#hyperparameter_source
def hyperparameter_source() -> ::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource
Returns
- (::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource) — Optional. Configuration of hyperparameters source EngineConfig.
#hyperparameter_source=
def hyperparameter_source=(value) -> ::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource
Parameter
- value (::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource) — Optional. Configuration of hyperparameters source EngineConfig.
Returns
- (::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource) — Optional. Configuration of hyperparameters source EngineConfig.
#hyperparameter_source_type
def hyperparameter_source_type() -> ::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType) — Optional. The origin of hyperparameters for the created EngineConfig. The
default is
TUNING
. In this case, the hyperparameters are selected as a result of a tuning run.
#hyperparameter_source_type=
def hyperparameter_source_type=(value) -> ::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType
Parameter
-
value (::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType) — Optional. The origin of hyperparameters for the created EngineConfig. The
default is
TUNING
. In this case, the hyperparameters are selected as a result of a tuning run.
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType) — Optional. The origin of hyperparameters for the created EngineConfig. The
default is
TUNING
. In this case, the hyperparameters are selected as a result of a tuning run.
#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
- (::Google::Cloud::FinancialServices::V1::LineOfBusiness) — Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of the EngineConfig.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}
#performance_target
def performance_target() -> ::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget) — Optional. PerformanceTarget gives information on how the tuning and
training will be evaluated. This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
#performance_target=
def performance_target=(value) -> ::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget
Parameter
-
value (::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget) — Optional. PerformanceTarget gives information on how the tuning and
training will be evaluated. This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget) — Optional. PerformanceTarget gives information on how the tuning and
training will be evaluated. This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
#state
def state() -> ::Google::Cloud::FinancialServices::V1::EngineConfig::State
Returns
- (::Google::Cloud::FinancialServices::V1::EngineConfig::State) — Output only. State of the EngineConfig (creating, active, deleting, etc.)
#tuning
def tuning() -> ::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning) — Optional. Configuration for tuning in creation of the EngineConfig.
This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
#tuning=
def tuning=(value) -> ::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning
Parameter
-
value (::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning) — Optional. Configuration for tuning in creation of the EngineConfig.
This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
Returns
-
(::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning) — Optional. Configuration for tuning in creation of the EngineConfig.
This field is required if
hyperparameter_source.type
is notINHERITED
, and output-only otherwise.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of the most recent update of this resource.