Share via


TextAnalysisAuthoringModelFactory.TextAuthoringEntityEvalSummary Method

Definition

Initializes a new instance of TextAuthoringEntityEvalSummary.

public static Azure.AI.Language.Text.Authoring.TextAuthoringEntityEvalSummary TextAuthoringEntityEvalSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0);
static member TextAuthoringEntityEvalSummary : double * double * double * int * int * int * int -> Azure.AI.Language.Text.Authoring.TextAuthoringEntityEvalSummary
Public Shared Function TextAuthoringEntityEvalSummary (Optional f1 As Double = 0, Optional precision As Double = 0, Optional recall As Double = 0, Optional truePositiveCount As Integer = 0, Optional trueNegativeCount As Integer = 0, Optional falsePositiveCount As Integer = 0, Optional falseNegativeCount As Integer = 0) As TextAuthoringEntityEvalSummary

Parameters

f1
Double

Represents the model precision.

precision
Double

Represents the model recall.

recall
Double

Represents the model F1 score.

truePositiveCount
Int32

Represents the count of true positive.

trueNegativeCount
Int32

Represents the count of true negative.

falsePositiveCount
Int32

Represents the count of false positive.

falseNegativeCount
Int32

Represents the count of false negative.

Returns

A new TextAuthoringEntityEvalSummary instance for mocking.

Applies to