Interface ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder (2.9.0)

public static interface ClassificationProto.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<Integer>

A list containing the exampleCount.