Interface Evaluation.MetricsOrBuilder (2.17.0)

public static interface Evaluation.MetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getF1Score()

public abstract float getF1Score()

The calculated f1 score.

float f1_score = 3;

Returns
TypeDescription
float

The f1Score.

getFalseNegativesCount()

public abstract int getFalseNegativesCount()

The amount of false negatives.

int32 false_negatives_count = 8;

Returns
TypeDescription
int

The falseNegativesCount.

getFalsePositivesCount()

public abstract int getFalsePositivesCount()

The amount of false positives.

int32 false_positives_count = 7;

Returns
TypeDescription
int

The falsePositivesCount.

getGroundTruthDocumentCount()

public abstract int getGroundTruthDocumentCount()

The amount of documents with a ground truth occurrence.

int32 ground_truth_document_count = 11;

Returns
TypeDescription
int

The groundTruthDocumentCount.

getGroundTruthOccurrencesCount()

public abstract int getGroundTruthOccurrencesCount()

The amount of occurrences in ground truth documents.

int32 ground_truth_occurrences_count = 5;

Returns
TypeDescription
int

The groundTruthOccurrencesCount.

getPrecision()

public abstract float getPrecision()

The calculated precision.

float precision = 1;

Returns
TypeDescription
float

The precision.

getPredictedDocumentCount()

public abstract int getPredictedDocumentCount()

The amount of documents with a predicted occurrence.

int32 predicted_document_count = 10;

Returns
TypeDescription
int

The predictedDocumentCount.

getPredictedOccurrencesCount()

public abstract int getPredictedOccurrencesCount()

The amount of occurrences in predicted documents.

int32 predicted_occurrences_count = 4;

Returns
TypeDescription
int

The predictedOccurrencesCount.

getRecall()

public abstract float getRecall()

The calculated recall.

float recall = 2;

Returns
TypeDescription
float

The recall.

getTotalDocumentsCount()

public abstract int getTotalDocumentsCount()

The amount of documents that had an occurrence of this label.

int32 total_documents_count = 9;

Returns
TypeDescription
int

The totalDocumentsCount.

getTruePositivesCount()

public abstract int getTruePositivesCount()

The amount of true positives.

int32 true_positives_count = 6;

Returns
TypeDescription
int

The truePositivesCount.