public sealed class TopNMetrics : IMessage<SmartReplyMetrics.Types.TopNMetrics>, IEquatable<SmartReplyMetrics.Types.TopNMetrics>, IDeepCloneable<SmartReplyMetrics.Types.TopNMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SmartReplyMetrics.Types.TopNMetrics.
Evaluation metrics when retrieving n
smart replies with the model.
Implements
IMessage<SmartReplyMetrics.Types.TopNMetrics>, IEquatable<SmartReplyMetrics.Types.TopNMetrics>, IDeepCloneable<SmartReplyMetrics.Types.TopNMetrics>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
TopNMetrics()
public TopNMetrics()
TopNMetrics(SmartReplyMetrics.Types.TopNMetrics)
public TopNMetrics(SmartReplyMetrics.Types.TopNMetrics other)
Parameter | |
---|---|
Name | Description |
other | SmartReplyMetrics.Types.TopNMetrics |
Properties
N
public int N { get; set; }
Number of retrieved smart replies. For example, when n
is 3, this
evaluation contains metrics for when Dialogflow retrieves 3 smart replies
with the model.
Property Value | |
---|---|
Type | Description |
Int32 |
Recall
public float Recall { get; set; }
Defined as number of queries whose top n smart replies have at least one
similar (token match similarity above the defined threshold) reply as the
real reply
divided by number of queries with at least one smart reply
.
Value ranges from 0.0 to 1.0 inclusive.
Property Value | |
---|---|
Type | Description |
Single |