AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::LabelStats (v0.8.0)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::LabelStats.

Statistics about annotation specs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#example_count

def example_count() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — 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.

#example_count=

def example_count=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — 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.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — 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.