Package com.google.cloud.automl.v1beta1
Class ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
- All Implemented Interfaces:
ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix
public static final class ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
implements ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
Confusion matrix of the model running the classification.Protobuf type
google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotationSpecId(Iterable<String> values) Output only.addAllDisplayName(Iterable<String> values) Output only.addAllRow(Iterable<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> values) Output only.addAnnotationSpecId(String value) Output only.addAnnotationSpecIdBytes(com.google.protobuf.ByteString value) Output only.addDisplayName(String value) Output only.addDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Output only.addRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only.Output only.addRow(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only.Output only.addRowBuilder(int index) Output only.build()clear()Output only.Output only.clearRow()Output only.getAnnotationSpecId(int index) Output only.com.google.protobuf.ByteStringgetAnnotationSpecIdBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisplayName(int index) Output only.com.google.protobuf.ByteStringgetDisplayNameBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getRow(int index) Output only.getRowBuilder(int index) Output only.Output only.intOutput only.Output only.getRowOrBuilder(int index) Output only.Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRow(int index) Output only.setAnnotationSpecId(int index, String value) Output only.setDisplayName(int index, String value) Output only.Output only.setRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
getDefaultInstanceForType
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>- Throws:
IOException
-
getAnnotationSpecIdList
public com.google.protobuf.ProtocolStringList getAnnotationSpecIdList()Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdListin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Returns:
- A list containing the annotationSpecId.
-
getAnnotationSpecIdCount
public int getAnnotationSpecIdCount()Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdCountin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Returns:
- The count of annotationSpecId.
-
getAnnotationSpecId
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The annotationSpecId at the given index.
-
getAnnotationSpecIdBytes
public com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index) Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdBytesin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotationSpecId at the given index.
-
setAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setAnnotationSpecId(int index, String value) Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Parameters:
index- The index to set the value at.value- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
addAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAnnotationSpecId(String value) Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Parameters:
value- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
addAllAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllAnnotationSpecId(Iterable<String> values) Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Parameters:
values- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
clearAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearAnnotationSpecId()Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Returns:
- This builder for chaining.
-
addAnnotationSpecIdBytes
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAnnotationSpecIdBytes(com.google.protobuf.ByteString value) Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Parameters:
value- The bytes of the annotationSpecId to add.- Returns:
- This builder for chaining.
-
getDisplayNameList
public com.google.protobuf.ProtocolStringList getDisplayNameList()Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Specified by:
getDisplayNameListin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Returns:
- A list containing the displayName.
-
getDisplayNameCount
public int getDisplayNameCount()Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Specified by:
getDisplayNameCountin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Returns:
- The count of displayName.
-
getDisplayName
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Specified by:
getDisplayNamein interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The displayName at the given index.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes(int index) Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the displayName at the given index.
-
setDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setDisplayName(int index, String value) Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Parameters:
index- The index to set the value at.value- The displayName to set.- Returns:
- This builder for chaining.
-
addDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addDisplayName(String value) Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Parameters:
value- The displayName to add.- Returns:
- This builder for chaining.
-
addAllDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllDisplayName(Iterable<String> values) Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Parameters:
values- The displayName to add.- Returns:
- This builder for chaining.
-
clearDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearDisplayName()Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Returns:
- This builder for chaining.
-
addDisplayNameBytes
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addDisplayNameBytes(com.google.protobuf.ByteString value) Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;- Parameters:
value- The bytes of the displayName to add.- Returns:
- This builder for chaining.
-
getRowList
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowListin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRowCount
public int getRowCount()Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowCountin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRow
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
setRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
setRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addAllRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllRow(Iterable<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> values) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
clearRow
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
removeRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder removeRow(int index) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
getRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder getRowBuilder(int index) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
getRowOrBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder getRowOrBuilder(int index) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowOrBuilderin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRowOrBuilderList
public List<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder> getRowOrBuilderList()Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowOrBuilderListin interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
addRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addRowBuilder()Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addRowBuilder(int index) Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
getRowBuilderList
public List<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder> getRowBuilderList()Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-