- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 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.ConfidenceMetricsEntry extends GeneratedMessageV3 implements ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryOrBuilder
Metrics for a single confidence threshold.
Protobuf type
google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntryStatic Fields
CONFIDENCE_THRESHOLD_FIELD_NUMBER
public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Type | Description |
int |
F1_SCORE_AT1_FIELD_NUMBER
public static final int F1_SCORE_AT1_FIELD_NUMBER
Type | Description |
int |
F1_SCORE_FIELD_NUMBER
public static final int F1_SCORE_FIELD_NUMBER
Type | Description |
int |
FALSE_NEGATIVE_COUNT_FIELD_NUMBER
public static final int FALSE_NEGATIVE_COUNT_FIELD_NUMBER
Type | Description |
int |
FALSE_POSITIVE_COUNT_FIELD_NUMBER
public static final int FALSE_POSITIVE_COUNT_FIELD_NUMBER
Type | Description |
int |
FALSE_POSITIVE_RATE_AT1_FIELD_NUMBER
public static final int FALSE_POSITIVE_RATE_AT1_FIELD_NUMBER
Type | Description |
int |
FALSE_POSITIVE_RATE_FIELD_NUMBER
public static final int FALSE_POSITIVE_RATE_FIELD_NUMBER
Type | Description |
int |
POSITION_THRESHOLD_FIELD_NUMBER
public static final int POSITION_THRESHOLD_FIELD_NUMBER
Type | Description |
int |
PRECISION_AT1_FIELD_NUMBER
public static final int PRECISION_AT1_FIELD_NUMBER
Type | Description |
int |
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
Type | Description |
int |
RECALL_AT1_FIELD_NUMBER
public static final int RECALL_AT1_FIELD_NUMBER
Type | Description |
int |
RECALL_FIELD_NUMBER
public static final int RECALL_FIELD_NUMBER
Type | Description |
int |
TRUE_NEGATIVE_COUNT_FIELD_NUMBER
public static final int TRUE_NEGATIVE_COUNT_FIELD_NUMBER
Type | Description |
int |
TRUE_POSITIVE_COUNT_FIELD_NUMBER
public static final int TRUE_POSITIVE_COUNT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry getDefaultInstance()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder newBuilder()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
newBuilder(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry prototype)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder newBuilder(ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry prototype)
Name | Description |
prototype | ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
parseDelimitedFrom(InputStream input)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> parser()
Type | Description |
Parser<ConfidenceMetricsEntry> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getConfidenceThreshold()
public float getConfidenceThreshold()
Output only. Metrics are computed with an assumption that the model never returns predictions with score lower than this value.
float confidence_threshold = 1;
Type | Description |
float | The confidenceThreshold. |
getDefaultInstanceForType()
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry getDefaultInstanceForType()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
getF1Score()
public float getF1Score()
Output only. The harmonic mean of recall and precision.
float f1_score = 4;
Type | Description |
float | The f1Score. |
getF1ScoreAt1()
public float getF1ScoreAt1()
Output only. The harmonic mean of recall_at1 and precision_at1.
float f1_score_at1 = 7;
Type | Description |
float | The f1ScoreAt1. |
getFalseNegativeCount()
public long getFalseNegativeCount()
Output only. The number of ground truth labels that are not matched by a model created label.
int64 false_negative_count = 12;
Type | Description |
long | The falseNegativeCount. |
getFalsePositiveCount()
public long getFalsePositiveCount()
Output only. The number of model created labels that do not match a ground truth label.
int64 false_positive_count = 11;
Type | Description |
long | The falsePositiveCount. |
getFalsePositiveRate()
public float getFalsePositiveRate()
Output only. False Positive Rate for the given confidence threshold.
float false_positive_rate = 8;
Type | Description |
float | The falsePositiveRate. |
getFalsePositiveRateAt1()
public float getFalsePositiveRateAt1()
Output only. The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
float false_positive_rate_at1 = 9;
Type | Description |
float | The falsePositiveRateAt1. |
getParserForType()
public Parser<ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry> getParserForType()
Type | Description |
Parser<ConfidenceMetricsEntry> |
getPositionThreshold()
public int getPositionThreshold()
Output only. Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.
int32 position_threshold = 14;
Type | Description |
int | The positionThreshold. |
getPrecision()
public float getPrecision()
Output only. Precision for the given confidence threshold.
float precision = 3;
Type | Description |
float | The precision. |
getPrecisionAt1()
public float getPrecisionAt1()
Output only. The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
float precision_at1 = 6;
Type | Description |
float | The precisionAt1. |
getRecall()
public float getRecall()
Output only. Recall (True Positive Rate) for the given confidence threshold.
float recall = 2;
Type | Description |
float | The recall. |
getRecallAt1()
public float getRecallAt1()
Output only. The Recall (True Positive Rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
float recall_at1 = 5;
Type | Description |
float | The recallAt1. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTrueNegativeCount()
public long getTrueNegativeCount()
Output only. The number of labels that were not created by the model, but if they would, they would not match a ground truth label.
int64 true_negative_count = 13;
Type | Description |
long | The trueNegativeCount. |
getTruePositiveCount()
public long getTruePositiveCount()
Output only. The number of model created labels that match a ground truth label.
int64 true_positive_count = 10;
Type | Description |
long | The truePositiveCount. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder newBuilderForType()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder toBuilder()
Type | Description |
ClassificationProto.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |