Interface Evaluation.MetricsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Evaluation.Metrics,Evaluation.Metrics.Builder
- Enclosing class:
- Evaluation
public static interface Evaluation.MetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetF1Score()The calculated f1 score.intgetFalseNegativesCount()The amount of false negatives.intgetFalsePositivesCount()The amount of false positives.intgetGroundTruthDocumentCount()The amount of documents with a ground truth occurrence.intgetGroundTruthOccurrencesCount()The amount of occurrences in ground truth documents.floatgetPrecision()The calculated precision.intgetPredictedDocumentCount()The amount of documents with a predicted occurrence.intgetPredictedOccurrencesCount()The amount of occurrences in predicted documents.floatgetRecall()The calculated recall.intgetTotalDocumentsCount()The amount of documents that had an occurrence of this label.intgetTruePositivesCount()The amount of true positives.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrecision
float getPrecision()
The calculated precision.
float precision = 1;- Returns:
- The precision.
-
getRecall
float getRecall()
The calculated recall.
float recall = 2;- Returns:
- The recall.
-
getF1Score
float getF1Score()
The calculated f1 score.
float f1_score = 3;- Returns:
- The f1Score.
-
getPredictedOccurrencesCount
int getPredictedOccurrencesCount()
The amount of occurrences in predicted documents.
int32 predicted_occurrences_count = 4;- Returns:
- The predictedOccurrencesCount.
-
getGroundTruthOccurrencesCount
int getGroundTruthOccurrencesCount()
The amount of occurrences in ground truth documents.
int32 ground_truth_occurrences_count = 5;- Returns:
- The groundTruthOccurrencesCount.
-
getPredictedDocumentCount
int getPredictedDocumentCount()
The amount of documents with a predicted occurrence.
int32 predicted_document_count = 10;- Returns:
- The predictedDocumentCount.
-
getGroundTruthDocumentCount
int getGroundTruthDocumentCount()
The amount of documents with a ground truth occurrence.
int32 ground_truth_document_count = 11;- Returns:
- The groundTruthDocumentCount.
-
getTruePositivesCount
int getTruePositivesCount()
The amount of true positives.
int32 true_positives_count = 6;- Returns:
- The truePositivesCount.
-
getFalsePositivesCount
int getFalsePositivesCount()
The amount of false positives.
int32 false_positives_count = 7;- Returns:
- The falsePositivesCount.
-
getFalseNegativesCount
int getFalseNegativesCount()
The amount of false negatives.
int32 false_negatives_count = 8;- Returns:
- The falseNegativesCount.
-
getTotalDocumentsCount
int getTotalDocumentsCount()
The amount of documents that had an occurrence of this label.
int32 total_documents_count = 9;- Returns:
- The totalDocumentsCount.
-
-