Interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder (2.49.0)

public static interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExampleCount(int index)

public abstract int getExampleCount(int index)

Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

repeated int32 example_count = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The exampleCount at the given index.

getExampleCountCount()

public abstract int getExampleCountCount()

Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

repeated int32 example_count = 1;

Returns
Type Description
int

The count of exampleCount.

getExampleCountList()

public abstract List<Integer> getExampleCountList()

Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

repeated int32 example_count = 1;

Returns
Type Description
List<Integer>

A list containing the exampleCount.