Package com.google.cloud.automl.v1beta1
Class ClassificationProto.ClassificationEvaluationMetrics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
- com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics.Builder
-
- All Implemented Interfaces:
ClassificationProto.ClassificationEvaluationMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClassificationProto.ClassificationEvaluationMetrics
public static final class ClassificationProto.ClassificationEvaluationMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder> implements ClassificationProto.ClassificationEvaluationMetricsOrBuilder
Model evaluation metrics for classification problems. Note: For Video Classification this metrics only describe quality of the Video Classification predictions of "segment_classification" type.
Protobuf typegoogle.cloud.automl.v1beta1.ClassificationEvaluationMetrics
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
clear
public ClassificationProto.ClassificationEvaluationMetrics.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.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.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
getDefaultInstanceForType
public ClassificationProto.ClassificationEvaluationMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClassificationProto.ClassificationEvaluationMetrics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClassificationProto.ClassificationEvaluationMetrics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClassificationProto.ClassificationEvaluationMetrics.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
setField
public ClassificationProto.ClassificationEvaluationMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
clearField
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
clearOneof
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
setRepeatedField
public ClassificationProto.ClassificationEvaluationMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
addRepeatedField
public ClassificationProto.ClassificationEvaluationMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeFrom(ClassificationProto.ClassificationEvaluationMetrics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.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.Builder>- Throws:
IOException
-
getAuPrc
public float getAuPrc()
Output only. The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.
float au_prc = 1;- Specified by:
getAuPrcin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The auPrc.
-
setAuPrc
public ClassificationProto.ClassificationEvaluationMetrics.Builder setAuPrc(float value)
Output only. The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.
float au_prc = 1;- Parameters:
value- The auPrc to set.- Returns:
- This builder for chaining.
-
clearAuPrc
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearAuPrc()
Output only. The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.
float au_prc = 1;- Returns:
- This builder for chaining.
-
getBaseAuPrc
@Deprecated public float getBaseAuPrc()
Deprecated.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.base_au_prc is deprecated. See google/cloud/automl/v1beta1/classification.proto;l=188Output only. The Area Under Precision-Recall Curve metric based on priors. Micro-averaged for the overall evaluation. Deprecated.
float base_au_prc = 2 [deprecated = true];- Specified by:
getBaseAuPrcin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The baseAuPrc.
-
setBaseAuPrc
@Deprecated public ClassificationProto.ClassificationEvaluationMetrics.Builder setBaseAuPrc(float value)
Deprecated.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.base_au_prc is deprecated. See google/cloud/automl/v1beta1/classification.proto;l=188Output only. The Area Under Precision-Recall Curve metric based on priors. Micro-averaged for the overall evaluation. Deprecated.
float base_au_prc = 2 [deprecated = true];- Parameters:
value- The baseAuPrc to set.- Returns:
- This builder for chaining.
-
clearBaseAuPrc
@Deprecated public ClassificationProto.ClassificationEvaluationMetrics.Builder clearBaseAuPrc()
Deprecated.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.base_au_prc is deprecated. See google/cloud/automl/v1beta1/classification.proto;l=188Output only. The Area Under Precision-Recall Curve metric based on priors. Micro-averaged for the overall evaluation. Deprecated.
float base_au_prc = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
getAuRoc
public float getAuRoc()
Output only. The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
float au_roc = 6;- Specified by:
getAuRocin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The auRoc.
-
setAuRoc
public ClassificationProto.ClassificationEvaluationMetrics.Builder setAuRoc(float value)
Output only. The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
float au_roc = 6;- Parameters:
value- The auRoc to set.- Returns:
- This builder for chaining.
-
clearAuRoc
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearAuRoc()
Output only. The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
float au_roc = 6;- Returns:
- This builder for chaining.
-
getLogLoss
public float getLogLoss()
Output only. The Log Loss metric.
float log_loss = 7;- Specified by:
getLogLossin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The logLoss.
-
setLogLoss
public ClassificationProto.ClassificationEvaluationMetrics.Builder setLogLoss(float value)
Output only. The Log Loss metric.
float log_loss = 7;- Parameters:
value- The logLoss to set.- Returns:
- This builder for chaining.
-
clearLogLoss
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearLogLoss()
Output only. The Log Loss metric.
float log_loss = 7;- Returns:
- This builder for chaining.
-
getConfidenceMetricsEntryList
public List<ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> getConfidenceMetricsEntryList()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;- Specified by:
getConfidenceMetricsEntryListin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
getConfidenceMetricsEntryCount
public int getConfidenceMetricsEntryCount()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;- Specified by:
getConfidenceMetricsEntryCountin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
getConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry getConfidenceMetricsEntry(int index)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;- Specified by:
getConfidenceMetricsEntryin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
setConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder setConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
setConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder setConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder addConfidenceMetricsEntry(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder addConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder addConfidenceMetricsEntry(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder addConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addAllConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAllConfidenceMetricsEntry(Iterable<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> values)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
clearConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearConfidenceMetricsEntry()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
removeConfidenceMetricsEntry
public ClassificationProto.ClassificationEvaluationMetrics.Builder removeConfidenceMetricsEntry(int index)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
getConfidenceMetricsEntryBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder getConfidenceMetricsEntryBuilder(int index)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
getConfidenceMetricsEntryOrBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntryOrBuilder(int index)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;- Specified by:
getConfidenceMetricsEntryOrBuilderin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
getConfidenceMetricsEntryOrBuilderList
public List<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntryOrBuilderList()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;- Specified by:
getConfidenceMetricsEntryOrBuilderListin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
addConfidenceMetricsEntryBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntryBuilder()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
addConfidenceMetricsEntryBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntryBuilder(int index)
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
getConfidenceMetricsEntryBuilderList
public List<ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder> getConfidenceMetricsEntryBuilderList()
Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
-
hasConfusionMatrix
public boolean hasConfusionMatrix()
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;- Specified by:
hasConfusionMatrixin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- Whether the confusionMatrix field is set.
-
getConfusionMatrix
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix getConfusionMatrix()
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;- Specified by:
getConfusionMatrixin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The confusionMatrix.
-
setConfusionMatrix
public ClassificationProto.ClassificationEvaluationMetrics.Builder setConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix value)
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
-
setConfusionMatrix
public ClassificationProto.ClassificationEvaluationMetrics.Builder setConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder builderForValue)
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
-
mergeConfusionMatrix
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix value)
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
-
clearConfusionMatrix
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearConfusionMatrix()
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
-
getConfusionMatrixBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder getConfusionMatrixBuilder()
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
-
getConfusionMatrixOrBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder getConfusionMatrixOrBuilder()
Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;- Specified by:
getConfusionMatrixOrBuilderin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder
-
getAnnotationSpecIdList
public com.google.protobuf.ProtocolStringList getAnnotationSpecIdList()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Specified by:
getAnnotationSpecIdListin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- A list containing the annotationSpecId.
-
getAnnotationSpecIdCount
public int getAnnotationSpecIdCount()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Specified by:
getAnnotationSpecIdCountin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Returns:
- The count of annotationSpecId.
-
getAnnotationSpecId
public String getAnnotationSpecId(int index)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Specified by:
getAnnotationSpecIdin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- 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. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Specified by:
getAnnotationSpecIdBytesin interfaceClassificationProto.ClassificationEvaluationMetricsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotationSpecId at the given index.
-
setAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.Builder setAnnotationSpecId(int index, String value)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Parameters:
index- The index to set the value at.value- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
addAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAnnotationSpecId(String value)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Parameters:
value- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
addAllAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAllAnnotationSpecId(Iterable<String> values)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Parameters:
values- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
clearAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearAnnotationSpecId()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Returns:
- This builder for chaining.
-
addAnnotationSpecIdBytes
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAnnotationSpecIdBytes(com.google.protobuf.ByteString value)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;- Parameters:
value- The bytes of the annotationSpecId to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClassificationProto.ClassificationEvaluationMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
mergeUnknownFields
public final ClassificationProto.ClassificationEvaluationMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.Builder>
-
-