Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse.



13350
13351
13352
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13350

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig

Configuration of destination for Import related errors. Corresponds to the JSON property errorConfig



13323
13324
13325
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13323

def error_config
  @error_config
end

#error_samplesArray<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>

A sample of errors encountered while processing the data. Corresponds to the JSON property errorSamples



13328
13329
13330
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13328

def error_samples
  @error_samples
end

#metricsHash<String,Float>

The metrics of the trained model. Corresponds to the JSON property metrics

Returns:

  • (Hash<String,Float>)


13333
13334
13335
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13333

def metrics
  @metrics
end

#model_nameString

Fully qualified name of the CustomTuningModel. Corresponds to the JSON property modelName

Returns:

  • (String)


13338
13339
13340
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13338

def model_name
  @model_name
end

#model_statusString

The trained model status. Possible values are: * bad-data: The training data quality is bad. * no-improvement: Tuning didn't improve performance. Won't deploy. * in-progress: Model training job creation is in progress. * training: Model is actively training. * evaluating: The model is evaluating trained metrics. * indexing: The model trained metrics are indexing. * ready: The model is ready for serving. Corresponds to the JSON property modelStatus

Returns:

  • (String)


13348
13349
13350
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13348

def model_status
  @model_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13355
13356
13357
13358
13359
13360
13361
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13355

def update!(**args)
  @error_config = args[:error_config] if args.key?(:error_config)
  @error_samples = args[:error_samples] if args.key?(:error_samples)
  @metrics = args[:metrics] if args.key?(:metrics)
  @model_name = args[:model_name] if args.key?(:model_name)
  @model_status = args[:model_status] if args.key?(:model_status)
end