- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Evaluation.Metrics.Builder extends GeneratedMessageV3.Builder<Evaluation.Metrics.Builder> implements Evaluation.MetricsOrBuilder
Evaluation metrics, either in aggregate or about a specific entity.
Protobuf type google.cloud.documentai.v1.Evaluation.Metrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Evaluation.Metrics.BuilderImplements
Evaluation.MetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Metrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Metrics.Builder |
build()
public Evaluation.Metrics build()
Type | Description |
Evaluation.Metrics |
buildPartial()
public Evaluation.Metrics buildPartial()
Type | Description |
Evaluation.Metrics |
clear()
public Evaluation.Metrics.Builder clear()
Type | Description |
Evaluation.Metrics.Builder |
clearF1Score()
public Evaluation.Metrics.Builder clearF1Score()
The calculated f1 score.
float f1_score = 3;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearFalseNegativesCount()
public Evaluation.Metrics.Builder clearFalseNegativesCount()
The amount of false negatives.
int32 false_negatives_count = 8;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearFalsePositivesCount()
public Evaluation.Metrics.Builder clearFalsePositivesCount()
The amount of false positives.
int32 false_positives_count = 7;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.Metrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Evaluation.Metrics.Builder |
clearGroundTruthDocumentCount()
public Evaluation.Metrics.Builder clearGroundTruthDocumentCount()
The amount of documents with a ground truth occurrence.
int32 ground_truth_document_count = 11;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearGroundTruthOccurrencesCount()
public Evaluation.Metrics.Builder clearGroundTruthOccurrencesCount()
The amount of occurrences in ground truth documents.
int32 ground_truth_occurrences_count = 5;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.Metrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Evaluation.Metrics.Builder |
clearPrecision()
public Evaluation.Metrics.Builder clearPrecision()
The calculated precision.
float precision = 1;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearPredictedDocumentCount()
public Evaluation.Metrics.Builder clearPredictedDocumentCount()
The amount of documents with a predicted occurrence.
int32 predicted_document_count = 10;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearPredictedOccurrencesCount()
public Evaluation.Metrics.Builder clearPredictedOccurrencesCount()
The amount of occurrences in predicted documents.
int32 predicted_occurrences_count = 4;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearRecall()
public Evaluation.Metrics.Builder clearRecall()
The calculated recall.
float recall = 2;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearTotalDocumentsCount()
public Evaluation.Metrics.Builder clearTotalDocumentsCount()
The amount of documents that had an occurrence of this label.
int32 total_documents_count = 9;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clearTruePositivesCount()
public Evaluation.Metrics.Builder clearTruePositivesCount()
The amount of true positives.
int32 true_positives_count = 6;
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
clone()
public Evaluation.Metrics.Builder clone()
Type | Description |
Evaluation.Metrics.Builder |
getDefaultInstanceForType()
public Evaluation.Metrics getDefaultInstanceForType()
Type | Description |
Evaluation.Metrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getF1Score()
public float getF1Score()
The calculated f1 score.
float f1_score = 3;
Type | Description |
float | The f1Score. |
getFalseNegativesCount()
public int getFalseNegativesCount()
The amount of false negatives.
int32 false_negatives_count = 8;
Type | Description |
int | The falseNegativesCount. |
getFalsePositivesCount()
public int getFalsePositivesCount()
The amount of false positives.
int32 false_positives_count = 7;
Type | Description |
int | The falsePositivesCount. |
getGroundTruthDocumentCount()
public int getGroundTruthDocumentCount()
The amount of documents with a ground truth occurrence.
int32 ground_truth_document_count = 11;
Type | Description |
int | The groundTruthDocumentCount. |
getGroundTruthOccurrencesCount()
public int getGroundTruthOccurrencesCount()
The amount of occurrences in ground truth documents.
int32 ground_truth_occurrences_count = 5;
Type | Description |
int | The groundTruthOccurrencesCount. |
getPrecision()
public float getPrecision()
The calculated precision.
float precision = 1;
Type | Description |
float | The precision. |
getPredictedDocumentCount()
public int getPredictedDocumentCount()
The amount of documents with a predicted occurrence.
int32 predicted_document_count = 10;
Type | Description |
int | The predictedDocumentCount. |
getPredictedOccurrencesCount()
public int getPredictedOccurrencesCount()
The amount of occurrences in predicted documents.
int32 predicted_occurrences_count = 4;
Type | Description |
int | The predictedOccurrencesCount. |
getRecall()
public float getRecall()
The calculated recall.
float recall = 2;
Type | Description |
float | The recall. |
getTotalDocumentsCount()
public int getTotalDocumentsCount()
The amount of documents that had an occurrence of this label.
int32 total_documents_count = 9;
Type | Description |
int | The totalDocumentsCount. |
getTruePositivesCount()
public int getTruePositivesCount()
The amount of true positives.
int32 true_positives_count = 6;
Type | Description |
int | The truePositivesCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Evaluation.Metrics other)
public Evaluation.Metrics.Builder mergeFrom(Evaluation.Metrics other)
Name | Description |
other | Evaluation.Metrics |
Type | Description |
Evaluation.Metrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.Metrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Evaluation.Metrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.Metrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Evaluation.Metrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Metrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Metrics.Builder |
setF1Score(float value)
public Evaluation.Metrics.Builder setF1Score(float value)
The calculated f1 score.
float f1_score = 3;
Name | Description |
value | float The f1Score to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setFalseNegativesCount(int value)
public Evaluation.Metrics.Builder setFalseNegativesCount(int value)
The amount of false negatives.
int32 false_negatives_count = 8;
Name | Description |
value | int The falseNegativesCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setFalsePositivesCount(int value)
public Evaluation.Metrics.Builder setFalsePositivesCount(int value)
The amount of false positives.
int32 false_positives_count = 7;
Name | Description |
value | int The falsePositivesCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Metrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Metrics.Builder |
setGroundTruthDocumentCount(int value)
public Evaluation.Metrics.Builder setGroundTruthDocumentCount(int value)
The amount of documents with a ground truth occurrence.
int32 ground_truth_document_count = 11;
Name | Description |
value | int The groundTruthDocumentCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setGroundTruthOccurrencesCount(int value)
public Evaluation.Metrics.Builder setGroundTruthOccurrencesCount(int value)
The amount of occurrences in ground truth documents.
int32 ground_truth_occurrences_count = 5;
Name | Description |
value | int The groundTruthOccurrencesCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setPrecision(float value)
public Evaluation.Metrics.Builder setPrecision(float value)
The calculated precision.
float precision = 1;
Name | Description |
value | float The precision to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setPredictedDocumentCount(int value)
public Evaluation.Metrics.Builder setPredictedDocumentCount(int value)
The amount of documents with a predicted occurrence.
int32 predicted_document_count = 10;
Name | Description |
value | int The predictedDocumentCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setPredictedOccurrencesCount(int value)
public Evaluation.Metrics.Builder setPredictedOccurrencesCount(int value)
The amount of occurrences in predicted documents.
int32 predicted_occurrences_count = 4;
Name | Description |
value | int The predictedOccurrencesCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setRecall(float value)
public Evaluation.Metrics.Builder setRecall(float value)
The calculated recall.
float recall = 2;
Name | Description |
value | float The recall to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.Metrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Evaluation.Metrics.Builder |
setTotalDocumentsCount(int value)
public Evaluation.Metrics.Builder setTotalDocumentsCount(int value)
The amount of documents that had an occurrence of this label.
int32 total_documents_count = 9;
Name | Description |
value | int The totalDocumentsCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setTruePositivesCount(int value)
public Evaluation.Metrics.Builder setTruePositivesCount(int value)
The amount of true positives.
int32 true_positives_count = 6;
Name | Description |
value | int The truePositivesCount to set. |
Type | Description |
Evaluation.Metrics.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Metrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Metrics.Builder |