Interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ClassificationEvaluationMetrics.ConfusionMatrix.Row, ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder
Enclosing class:
ClassificationEvaluationMetrics.ConfusionMatrix

public static interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getExampleCount(int index)
    Output only.
    int
    Output only.
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getExampleCountList

      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][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
       
      repeated int32 example_count = 1;
      Returns:
      A list containing the exampleCount.
    • getExampleCountCount

      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][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
       
      repeated int32 example_count = 1;
      Returns:
      The count of exampleCount.
    • getExampleCount

      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][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
       
      repeated int32 example_count = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The exampleCount at the given index.