Share via


ConversationAnalysisAuthoringModelFactory.IntentsEvaluationSummary Method

Definition

Initializes a new instance of IntentsEvaluationSummary.

public static Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow> confusionMatrix = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary> intents = default, float microF1 = 0, float microPrecision = 0, float microRecall = 0, float macroF1 = 0, float macroPrecision = 0, float macroRecall = 0);
static member IntentsEvaluationSummary : System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary> * single * single * single * single * single * single -> Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary
Public Shared Function IntentsEvaluationSummary (Optional confusionMatrix As IReadOnlyDictionary(Of String, ConversationAuthoringConfusionMatrixRow) = Nothing, Optional intents As IReadOnlyDictionary(Of String, IntentEvaluationSummary) = Nothing, Optional microF1 As Single = 0, Optional microPrecision As Single = 0, Optional microRecall As Single = 0, Optional macroF1 As Single = 0, Optional macroPrecision As Single = 0, Optional macroRecall As Single = 0) As IntentsEvaluationSummary

Parameters

confusionMatrix
IReadOnlyDictionary<String,ConversationAuthoringConfusionMatrixRow>

Represents the confusion matrix between two intents (the two intents can be the same). The matrix is between the intent that was labelled and the intent that was predicted.

intents
IReadOnlyDictionary<String,IntentEvaluationSummary>

Represents the intents evaluation summary.

microF1
Single

Represents the micro F1. Expected value is a float between 0 and 1 inclusive.

microPrecision
Single

Represents the micro precision. Expected value is a float between 0 and 1 inclusive.

microRecall
Single

Represents the micro recall. Expected value is a float between 0 and 1 inclusive.

macroF1
Single

Represents the macro F1. Expected value is a float between 0 and 1 inclusive.

macroPrecision
Single

Represents the macro precision. Expected value is a float between 0 and 1 inclusive.

macroRecall
Single

Represents the macro recall. Expected value is a float between 0 and 1 inclusive.

Returns

A new IntentsEvaluationSummary instance for mocking.

Applies to