public final class TextExtractionEvaluationMetrics extends GeneratedMessageV3 implements TextExtractionEvaluationMetricsOrBuilder
Model evaluation metrics for text extraction problems.
Protobuf type google.cloud.automl.v1.TextExtractionEvaluationMetrics
Static Fields
public static final int AU_PRC_FIELD_NUMBER
Field Value
public static final int CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER
Field Value
Static Methods
public static TextExtractionEvaluationMetrics getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TextExtractionEvaluationMetrics.Builder newBuilder()
Returns
public static TextExtractionEvaluationMetrics.Builder newBuilder(TextExtractionEvaluationMetrics prototype)
Parameter
Returns
public static TextExtractionEvaluationMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TextExtractionEvaluationMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TextExtractionEvaluationMetrics> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
Output only. The Area under precision recall curve metric.
float au_prc = 1;
Returns
Type | Description |
float | The auPrc.
|
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry getConfidenceMetricsEntries(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
public int getConfidenceMetricsEntriesCount()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
public List<TextExtractionEvaluationMetrics.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntriesOrBuilder(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
public List<? extends TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntriesOrBuilderList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> | |
public TextExtractionEvaluationMetrics getDefaultInstanceForType()
Returns
public Parser<TextExtractionEvaluationMetrics> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder newBuilderForType()
Returns
protected TextExtractionEvaluationMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions