Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Statistics about annotation specs.
Instance Attribute Summary collapse
-
#example_count ⇒ Hash<String,Fixnum>
Map of each annotation spec's example count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1LabelStats
constructor
A new instance of GoogleCloudDatalabelingV1p1alpha1LabelStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1LabelStats
Returns a new instance of GoogleCloudDatalabelingV1p1alpha1LabelStats.
5212 5213 5214 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_count ⇒ Hash<String,Fixnum>
Map of each annotation spec's example count. Key is the annotation spec name
and value is the number of examples for that annotation spec. If the annotated
dataset does not have annotation spec, the map will return a pair where the
key is empty string and value is the total number of annotations.
Corresponds to the JSON property exampleCount
5210 5211 5212 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5210 def example_count @example_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5217 5218 5219 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5217 def update!(**args) @example_count = args[:example_count] if args.key?(:example_count) end |