Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::TextExtractionPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::TextExtractionPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb
Overview
Prediction output format for Text Extraction.
Instance Attribute Summary collapse
-
#confidences ⇒ ::Array<::Float>
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
-
#display_names ⇒ ::Array<::String>
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
-
#ids ⇒ ::Array<::Integer>
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
-
#text_segment_end_offsets ⇒ ::Array<::Integer>
The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified.
-
#text_segment_start_offsets ⇒ ::Array<::Integer>
The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified.
Instance Attribute Details
#confidences ⇒ ::Array<::Float>
Returns The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
50 51 52 53 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb', line 50 class TextExtractionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_names ⇒ ::Array<::String>
Returns The display names of the AnnotationSpecs that had been identified, order matches the IDs.
50 51 52 53 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb', line 50 class TextExtractionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ids ⇒ ::Array<::Integer>
Returns The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
50 51 52 53 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb', line 50 class TextExtractionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_segment_end_offsets ⇒ ::Array<::Integer>
Returns The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
50 51 52 53 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb', line 50 class TextExtractionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_segment_start_offsets ⇒ ::Array<::Integer>
Returns The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
50 51 52 53 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb', line 50 class TextExtractionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |