Share via


TextAnalysisAuthoringModelFactory.SingleLabelClassEvalSummary Method

Definition

Initializes a new instance of SingleLabelClassEvalSummary.

public static Azure.AI.Language.Text.Authoring.SingleLabelClassEvalSummary SingleLabelClassEvalSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0);
static member SingleLabelClassEvalSummary : double * double * double * int * int * int * int -> Azure.AI.Language.Text.Authoring.SingleLabelClassEvalSummary
Public Shared Function SingleLabelClassEvalSummary (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 SingleLabelClassEvalSummary

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 SingleLabelClassEvalSummary instance for mocking.

Applies to