Class: Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb

Overview

Metadata that describes a custom tuned model.

Defined Under Namespace

Modules: ModelState Classes: MetricsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Timestamp the Model was created at.

Returns:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#display_name::String

Returns The display name of the model.

Returns:

  • (::String)

    The display name of the model.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#metrics::Google::Protobuf::Map{::String => ::Float}

Returns The metrics of the trained model.

Returns:

  • (::Google::Protobuf::Map{::String => ::Float})

    The metrics of the trained model.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#model_state::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState

Returns The state that the model is in (e.g.TRAINING or TRAINING_FAILED).

Returns:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#model_version::Integer

Returns The version of the model.

Returns:

  • (::Integer)

    The version of the model.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#name::String

Returns Required. The fully qualified resource name of the model.

Format: projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model} model must be an alpha-numerical string with limit of 40 characters.

Returns:

  • (::String)

    Required. The fully qualified resource name of the model.

    Format: projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model} model must be an alpha-numerical string with limit of 40 characters.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end

#training_start_time::Google::Protobuf::Timestamp

Returns Timestamp the model training was initiated.

Returns:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 51

class CustomTuningModel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Float]
  class MetricsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the model.
  module ModelState
    # Default value.
    MODEL_STATE_UNSPECIFIED = 0

    # The model is in a paused training state.
    TRAINING_PAUSED = 1

    # The model is currently training.
    TRAINING = 2

    # The model has successfully completed training.
    TRAINING_COMPLETE = 3

    # The model is ready for serving.
    READY_FOR_SERVING = 4

    # The model training failed.
    TRAINING_FAILED = 5

    # The model training finished successfully but metrics did not improve.
    NO_IMPROVEMENT = 6
  end
end