你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalysisAuthoringModelFactory.SentimentEvalSummary Method

Definition

Initializes a new instance of SentimentEvalSummary.

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

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

Applies to