Class XPSConfidenceMetricsEntry
ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class XPSConfidenceMetricsEntry : IDirectResponseSchema
Properties
ConfidenceThreshold
Metrics are computed with an assumption that the model never return predictions with score lower than this value.
Declaration
[JsonProperty("confidenceThreshold")]
public virtual float? ConfidenceThreshold { get; set; }
Property Value
Type | Description |
---|---|
float? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
F1Score
The harmonic mean of recall and precision.
Declaration
[JsonProperty("f1Score")]
public virtual float? F1Score { get; set; }
Property Value
Type | Description |
---|---|
float? |
F1ScoreAt1
The harmonic mean of recall_at1 and precision_at1.
Declaration
[JsonProperty("f1ScoreAt1")]
public virtual float? F1ScoreAt1 { get; set; }
Property Value
Type | Description |
---|---|
float? |
FalseNegativeCount
The number of ground truth labels that are not matched by a model created label.
Declaration
[JsonProperty("falseNegativeCount")]
public virtual long? FalseNegativeCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
FalsePositiveCount
The number of model created labels that do not match a ground truth label.
Declaration
[JsonProperty("falsePositiveCount")]
public virtual long? FalsePositiveCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
FalsePositiveRate
False Positive Rate for the given confidence threshold.
Declaration
[JsonProperty("falsePositiveRate")]
public virtual float? FalsePositiveRate { get; set; }
Property Value
Type | Description |
---|---|
float? |
FalsePositiveRateAt1
The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
Declaration
[JsonProperty("falsePositiveRateAt1")]
public virtual float? FalsePositiveRateAt1 { get; set; }
Property Value
Type | Description |
---|---|
float? |
PositionThreshold
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.
Declaration
[JsonProperty("positionThreshold")]
public virtual int? PositionThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? |
Precision
Precision for the given confidence threshold.
Declaration
[JsonProperty("precision")]
public virtual float? Precision { get; set; }
Property Value
Type | Description |
---|---|
float? |
PrecisionAt1
The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
Declaration
[JsonProperty("precisionAt1")]
public virtual float? PrecisionAt1 { get; set; }
Property Value
Type | Description |
---|---|
float? |
Recall
Recall (true positive rate) for the given confidence threshold.
Declaration
[JsonProperty("recall")]
public virtual float? Recall { get; set; }
Property Value
Type | Description |
---|---|
float? |
RecallAt1
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.
Declaration
[JsonProperty("recallAt1")]
public virtual float? RecallAt1 { get; set; }
Property Value
Type | Description |
---|---|
float? |
TrueNegativeCount
The number of labels that were not created by the model, but if they would, they would not match a ground truth label.
Declaration
[JsonProperty("trueNegativeCount")]
public virtual long? TrueNegativeCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
TruePositiveCount
The number of model created labels that match a ground truth label.
Declaration
[JsonProperty("truePositiveCount")]
public virtual long? TruePositiveCount { get; set; }
Property Value
Type | Description |
---|---|
long? |