Class: Google::Apis::LanguageV2::XpsTrainResponse
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsTrainResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Overview
Next ID: 18
Instance Attribute Summary collapse
-
#deployed_model_size_bytes ⇒ Fixnum
Estimated model size in bytes once deployed.
-
#error_analysis_configs ⇒ Array<Google::Apis::LanguageV2::XpsVisionErrorAnalysisConfig>
Optional vision model error analysis configuration.
-
#evaluated_example_set ⇒ Google::Apis::LanguageV2::XpsExampleSet
Set of examples or input sources.
-
#evaluation_metrics_set ⇒ Google::Apis::LanguageV2::XpsEvaluationMetricsSet
Specifies location of model evaluation metrics.
-
#explanation_configs ⇒ Array<Google::Apis::LanguageV2::XpsResponseExplanationSpec>
VisionExplanationConfig for XAI on test set.
-
#image_classification_train_resp ⇒ Google::Apis::LanguageV2::XpsImageClassificationTrainResponse
Corresponds to the JSON property
imageClassificationTrainResp
. -
#image_object_detection_train_resp ⇒ Google::Apis::LanguageV2::XpsImageObjectDetectionModelSpec
Corresponds to the JSON property
imageObjectDetectionTrainResp
. -
#image_segmentation_train_resp ⇒ Google::Apis::LanguageV2::XpsImageSegmentationTrainResponse
Corresponds to the JSON property
imageSegmentationTrainResp
. -
#model_token ⇒ String
Token that represents the trained model.
-
#speech_train_resp ⇒ Google::Apis::LanguageV2::XpsSpeechModelSpec
Corresponds to the JSON property
speechTrainResp
. -
#tables_train_resp ⇒ Google::Apis::LanguageV2::XpsTablesTrainResponse
Corresponds to the JSON property
tablesTrainResp
. -
#text_to_speech_train_resp ⇒ Google::Apis::LanguageV2::XpsTextToSpeechTrainResponse
TextToSpeech train response Corresponds to the JSON property
textToSpeechTrainResp
. -
#text_train_resp ⇒ Google::Apis::LanguageV2::XpsTextTrainResponse
Will only be needed for uCAIP from Beta.
-
#translation_train_resp ⇒ Google::Apis::LanguageV2::XpsTranslationTrainResponse
Train response for translation.
-
#video_action_recognition_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoActionRecognitionTrainResponse
Corresponds to the JSON property
videoActionRecognitionTrainResp
. -
#video_classification_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoClassificationTrainResponse
Corresponds to the JSON property
videoClassificationTrainResp
. -
#video_object_tracking_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoObjectTrackingTrainResponse
Corresponds to the JSON property
videoObjectTrackingTrainResp
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTrainResponse
constructor
A new instance of XpsTrainResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTrainResponse
Returns a new instance of XpsTrainResponse.
4516 4517 4518 |
# File 'lib/google/apis/language_v2/classes.rb', line 4516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployed_model_size_bytes ⇒ Fixnum
Estimated model size in bytes once deployed.
Corresponds to the JSON property deployedModelSizeBytes
4426 4427 4428 |
# File 'lib/google/apis/language_v2/classes.rb', line 4426 def deployed_model_size_bytes @deployed_model_size_bytes end |
#error_analysis_configs ⇒ Array<Google::Apis::LanguageV2::XpsVisionErrorAnalysisConfig>
Optional vision model error analysis configuration. The field is set when
model error analysis is enabled in the training request. The results of error
analysis will be binded together with evaluation results (in the format of
AnnotatedExample).
Corresponds to the JSON property errorAnalysisConfigs
4434 4435 4436 |
# File 'lib/google/apis/language_v2/classes.rb', line 4434 def error_analysis_configs @error_analysis_configs end |
#evaluated_example_set ⇒ Google::Apis::LanguageV2::XpsExampleSet
Set of examples or input sources.
Corresponds to the JSON property evaluatedExampleSet
4439 4440 4441 |
# File 'lib/google/apis/language_v2/classes.rb', line 4439 def evaluated_example_set @evaluated_example_set end |
#evaluation_metrics_set ⇒ Google::Apis::LanguageV2::XpsEvaluationMetricsSet
Specifies location of model evaluation metrics.
Corresponds to the JSON property evaluationMetricsSet
4444 4445 4446 |
# File 'lib/google/apis/language_v2/classes.rb', line 4444 def evaluation_metrics_set @evaluation_metrics_set end |
#explanation_configs ⇒ Array<Google::Apis::LanguageV2::XpsResponseExplanationSpec>
VisionExplanationConfig for XAI on test set. Optional for when XAI is enable
in training request.
Corresponds to the JSON property explanationConfigs
4450 4451 4452 |
# File 'lib/google/apis/language_v2/classes.rb', line 4450 def explanation_configs @explanation_configs end |
#image_classification_train_resp ⇒ Google::Apis::LanguageV2::XpsImageClassificationTrainResponse
Corresponds to the JSON property imageClassificationTrainResp
4455 4456 4457 |
# File 'lib/google/apis/language_v2/classes.rb', line 4455 def image_classification_train_resp @image_classification_train_resp end |
#image_object_detection_train_resp ⇒ Google::Apis::LanguageV2::XpsImageObjectDetectionModelSpec
Corresponds to the JSON property imageObjectDetectionTrainResp
4460 4461 4462 |
# File 'lib/google/apis/language_v2/classes.rb', line 4460 def image_object_detection_train_resp @image_object_detection_train_resp end |
#image_segmentation_train_resp ⇒ Google::Apis::LanguageV2::XpsImageSegmentationTrainResponse
Corresponds to the JSON property imageSegmentationTrainResp
4465 4466 4467 |
# File 'lib/google/apis/language_v2/classes.rb', line 4465 def image_segmentation_train_resp @image_segmentation_train_resp end |
#model_token ⇒ String
Token that represents the trained model. This is considered immutable and is
persisted in AutoML. xPS can put their own proto in the byte string, to e.g.
point to the model checkpoints. The token is passed to other xPS APIs to refer
to the model.
Corresponds to the JSON property modelToken
NOTE: Values are automatically base64 encoded/decoded in the client library.
4474 4475 4476 |
# File 'lib/google/apis/language_v2/classes.rb', line 4474 def model_token @model_token end |
#speech_train_resp ⇒ Google::Apis::LanguageV2::XpsSpeechModelSpec
Corresponds to the JSON property speechTrainResp
4479 4480 4481 |
# File 'lib/google/apis/language_v2/classes.rb', line 4479 def speech_train_resp @speech_train_resp end |
#tables_train_resp ⇒ Google::Apis::LanguageV2::XpsTablesTrainResponse
Corresponds to the JSON property tablesTrainResp
4484 4485 4486 |
# File 'lib/google/apis/language_v2/classes.rb', line 4484 def tables_train_resp @tables_train_resp end |
#text_to_speech_train_resp ⇒ Google::Apis::LanguageV2::XpsTextToSpeechTrainResponse
TextToSpeech train response
Corresponds to the JSON property textToSpeechTrainResp
4489 4490 4491 |
# File 'lib/google/apis/language_v2/classes.rb', line 4489 def text_to_speech_train_resp @text_to_speech_train_resp end |
#text_train_resp ⇒ Google::Apis::LanguageV2::XpsTextTrainResponse
Will only be needed for uCAIP from Beta.
Corresponds to the JSON property textTrainResp
4494 4495 4496 |
# File 'lib/google/apis/language_v2/classes.rb', line 4494 def text_train_resp @text_train_resp end |
#translation_train_resp ⇒ Google::Apis::LanguageV2::XpsTranslationTrainResponse
Train response for translation.
Corresponds to the JSON property translationTrainResp
4499 4500 4501 |
# File 'lib/google/apis/language_v2/classes.rb', line 4499 def translation_train_resp @translation_train_resp end |
#video_action_recognition_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoActionRecognitionTrainResponse
Corresponds to the JSON property videoActionRecognitionTrainResp
4504 4505 4506 |
# File 'lib/google/apis/language_v2/classes.rb', line 4504 def video_action_recognition_train_resp @video_action_recognition_train_resp end |
#video_classification_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoClassificationTrainResponse
Corresponds to the JSON property videoClassificationTrainResp
4509 4510 4511 |
# File 'lib/google/apis/language_v2/classes.rb', line 4509 def video_classification_train_resp @video_classification_train_resp end |
#video_object_tracking_train_resp ⇒ Google::Apis::LanguageV2::XpsVideoObjectTrackingTrainResponse
Corresponds to the JSON property videoObjectTrackingTrainResp
4514 4515 4516 |
# File 'lib/google/apis/language_v2/classes.rb', line 4514 def video_object_tracking_train_resp @video_object_tracking_train_resp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 |
# File 'lib/google/apis/language_v2/classes.rb', line 4521 def update!(**args) @deployed_model_size_bytes = args[:deployed_model_size_bytes] if args.key?(:deployed_model_size_bytes) @error_analysis_configs = args[:error_analysis_configs] if args.key?(:error_analysis_configs) @evaluated_example_set = args[:evaluated_example_set] if args.key?(:evaluated_example_set) @evaluation_metrics_set = args[:evaluation_metrics_set] if args.key?(:evaluation_metrics_set) @explanation_configs = args[:explanation_configs] if args.key?(:explanation_configs) @image_classification_train_resp = args[:image_classification_train_resp] if args.key?(:image_classification_train_resp) @image_object_detection_train_resp = args[:image_object_detection_train_resp] if args.key?(:image_object_detection_train_resp) @image_segmentation_train_resp = args[:image_segmentation_train_resp] if args.key?(:image_segmentation_train_resp) @model_token = args[:model_token] if args.key?(:model_token) @speech_train_resp = args[:speech_train_resp] if args.key?(:speech_train_resp) @tables_train_resp = args[:tables_train_resp] if args.key?(:tables_train_resp) @text_to_speech_train_resp = args[:text_to_speech_train_resp] if args.key?(:text_to_speech_train_resp) @text_train_resp = args[:text_train_resp] if args.key?(:text_train_resp) @translation_train_resp = args[:translation_train_resp] if args.key?(:translation_train_resp) @video_action_recognition_train_resp = args[:video_action_recognition_train_resp] if args.key?(:video_action_recognition_train_resp) @video_classification_train_resp = args[:video_classification_train_resp] if args.key?(:video_classification_train_resp) @video_object_tracking_train_resp = args[:video_object_tracking_train_resp] if args.key?(:video_object_tracking_train_resp) end |