Package com.google.cloud.automl.v1
Class ClassificationEvaluationMetrics.ConfusionMatrix.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
com.google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
- All Implemented Interfaces:
ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClassificationEvaluationMetrics.ConfusionMatrix
public static final class ClassificationEvaluationMetrics.ConfusionMatrix.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
implements ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
Confusion matrix of the model running the classification.Protobuf type
google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotationSpecId(Iterable<String> values) Output only.addAllDisplayName(Iterable<String> values) Output only.addAllRow(Iterable<? extends 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.addRow(int index, ClassificationEvaluationMetrics.ConfusionMatrix.Row value) Output only.addRow(int index, ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue) Output only.Output only.addRow(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.setRow(int index, ClassificationEvaluationMetrics.ConfusionMatrix.Row value) Output only.setRow(int index, 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<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<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<ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
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 ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
public 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<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.v1p1beta.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdListin interfaceClassificationEvaluationMetrics.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.v1p1beta.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdCountin interfaceClassificationEvaluationMetrics.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.v1p1beta.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdin interfaceClassificationEvaluationMetrics.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.v1p1beta.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;- Specified by:
getAnnotationSpecIdBytesin interfaceClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotationSpecId at the given index.
-
setAnnotationSpecId
public 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.v1p1beta.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
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1p1beta.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 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.v1p1beta.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
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1p1beta.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 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.v1p1beta.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.v1p1beta.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 interfaceClassificationEvaluationMetrics.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.v1p1beta.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 interfaceClassificationEvaluationMetrics.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.v1p1beta.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 interfaceClassificationEvaluationMetrics.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.v1p1beta.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 interfaceClassificationEvaluationMetrics.ConfusionMatrixOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the displayName at the given index.
-
setDisplayName
public 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.v1p1beta.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
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.v1p1beta.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 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.v1p1beta.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
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.v1p1beta.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 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.v1p1beta.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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowListin interfaceClassificationEvaluationMetrics.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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowCountin interfaceClassificationEvaluationMetrics.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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowin interfaceClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
setRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, 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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
setRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, 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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, 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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, 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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
addAllRow
public ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllRow(Iterable<? extends 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.v1.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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
removeRow
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
getRowBuilder
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
getRowOrBuilder
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowOrBuilderin interfaceClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRowOrBuilderList
public List<? extends 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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;- Specified by:
getRowOrBuilderListin interfaceClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2; -
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.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-