public static interface Evaluation.MetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getF1Score()
The calculated f1 score.
|
int |
getFalseNegativesCount()
The amount of false negatives.
|
int |
getFalsePositivesCount()
The amount of false positives.
|
int |
getGroundTruthDocumentCount()
The amount of documents with a ground truth occurrence.
|
int |
getGroundTruthOccurrencesCount()
The amount of occurrences in ground truth documents.
|
float |
getPrecision()
The calculated precision.
|
int |
getPredictedDocumentCount()
The amount of documents with a predicted occurrence.
|
int |
getPredictedOccurrencesCount()
The amount of occurrences in predicted documents.
|
float |
getRecall()
The calculated recall.
|
int |
getTotalDocumentsCount()
The amount of documents that had an occurrence of this label.
|
int |
getTruePositivesCount()
The amount of true positives.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffloat getPrecision()
The calculated precision.
float precision = 1;float getRecall()
The calculated recall.
float recall = 2;float getF1Score()
The calculated f1 score.
float f1_score = 3;int getPredictedOccurrencesCount()
The amount of occurrences in predicted documents.
int32 predicted_occurrences_count = 4;int getGroundTruthOccurrencesCount()
The amount of occurrences in ground truth documents.
int32 ground_truth_occurrences_count = 5;int getPredictedDocumentCount()
The amount of documents with a predicted occurrence.
int32 predicted_document_count = 10;int getGroundTruthDocumentCount()
The amount of documents with a ground truth occurrence.
int32 ground_truth_document_count = 11;int getTruePositivesCount()
The amount of true positives.
int32 true_positives_count = 6;int getFalsePositivesCount()
The amount of false positives.
int32 false_positives_count = 7;int getFalseNegativesCount()
The amount of false negatives.
int32 false_negatives_count = 8;int getTotalDocumentsCount()
The amount of documents that had an occurrence of this label.
int32 total_documents_count = 9;Copyright © 2024 Google LLC. All rights reserved.