- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class ClassificationProto.ClassificationEvaluationMetrics.Builder extends 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 type google.cloud.automl.v1beta1.ClassificationEvaluationMetrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClassificationProto.ClassificationEvaluationMetrics.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAnnotationSpecId(Iterable<String> values)
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAllAnnotationSpecId(Iterable<String> values)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Name | Description |
values | Iterable<String> The annotationSpecId to add. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
addAllConfidenceMetricsEntry(Iterable<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
addAnnotationSpecId(String value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAnnotationSpecId(String value)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Name | Description |
value | String The annotationSpecId to add. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
addAnnotationSpecIdBytes(ByteString value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder addAnnotationSpecIdBytes(ByteString value)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Name | Description |
value | ByteString The bytes of the annotationSpecId to add. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
addConfidenceMetricsEntry(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
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;
Name | Description |
value | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
addConfidenceMetricsEntry(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
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;
Name | Description |
builderForValue | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
addConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
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;
Name | Description |
index | int |
value | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
addConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
addConfidenceMetricsEntryBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
build()
public ClassificationProto.ClassificationEvaluationMetrics build()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics |
buildPartial()
public ClassificationProto.ClassificationEvaluationMetrics buildPartial()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics |
clear()
public ClassificationProto.ClassificationEvaluationMetrics.Builder clear()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
clearAnnotationSpecId()
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearAnnotationSpecId()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | 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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | 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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | 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=189
Output 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];
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
clearField(Descriptors.FieldDescriptor field)
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
clearLogLoss()
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearLogLoss()
Output only. The Log Loss metric.
float log_loss = 7;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClassificationProto.ClassificationEvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
clone()
public ClassificationProto.ClassificationEvaluationMetrics.Builder clone()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
getAnnotationSpecId(int index)
public String getAnnotationSpecId(int index)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The annotationSpecId at the given index. |
getAnnotationSpecIdBytes(int index)
public ByteString getAnnotationSpecIdBytes(int index)
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the annotationSpecId at the given index. |
getAnnotationSpecIdCount()
public int getAnnotationSpecIdCount()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Type | Description |
int | The count of annotationSpecId. |
getAnnotationSpecIdList()
public ProtocolStringList getAnnotationSpecIdList()
Output only. The annotation spec ids used for this evaluation.
repeated string annotation_spec_id = 5;
Type | Description |
ProtocolStringList | A list containing the annotationSpecId. |
getAuPrc()
public float getAuPrc()
Output only. The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.
float au_prc = 1;
Type | Description |
float | The auPrc. |
getAuRoc()
public float getAuRoc()
Output only. The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
float au_roc = 6;
Type | Description |
float | The auRoc. |
getBaseAuPrc() (deprecated)
public float getBaseAuPrc()
Deprecated. google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.base_au_prc is deprecated. See google/cloud/automl/v1beta1/classification.proto;l=189
Output 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];
Type | Description |
float | The baseAuPrc. |
getConfidenceMetricsEntry(int index)
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;
Name | Description |
index | int |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
getConfidenceMetricsEntryBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<ConfidenceMetricsEntry> |
getConfidenceMetricsEntryOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix | The confusionMatrix. |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder |
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;
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder |
getDefaultInstanceForType()
public ClassificationProto.ClassificationEvaluationMetrics getDefaultInstanceForType()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLogLoss()
public float getLogLoss()
Output only. The Log Loss metric.
float log_loss = 7;
Type | Description |
float | The logLoss. |
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;
Type | Description |
boolean | Whether the confusionMatrix field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix value)
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;
Name | Description |
value | ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
mergeFrom(ClassificationProto.ClassificationEvaluationMetrics other)
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeFrom(ClassificationProto.ClassificationEvaluationMetrics other)
Name | Description |
other | ClassificationProto.ClassificationEvaluationMetrics |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ClassificationProto.ClassificationEvaluationMetrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClassificationProto.ClassificationEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
removeConfidenceMetricsEntry(int index)
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;
Name | Description |
index | int |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setAnnotationSpecId(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The annotationSpecId to set. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
setAuPrc(float value)
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;
Name | Description |
value | float The auPrc to set. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
setAuRoc(float value)
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;
Name | Description |
value | float The auRoc to set. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
setBaseAuPrc(float value) (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=189
Output 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];
Name | Description |
value | float The baseAuPrc to set. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
setConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry value)
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;
Name | Description |
index | int |
value | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setConfidenceMetricsEntry(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix value)
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;
Name | Description |
value | ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setConfusionMatrix(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder builderForValue)
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;
Name | Description |
builderForValue | ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setLogLoss(float value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder setLogLoss(float value)
Output only. The Log Loss metric.
float log_loss = 7;
Name | Description |
value | float The logLoss to set. |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClassificationProto.ClassificationEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClassificationProto.ClassificationEvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.Builder |