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

TextAnalyticsModelFactory.SentimentConfidenceScores Method

Definition

Initializes a new instance of SentimentConfidenceScores for mocking purposes.

public static Azure.AI.TextAnalytics.SentimentConfidenceScores SentimentConfidenceScores(double positiveScore, double neutralScore, double negativeScore);
static member SentimentConfidenceScores : double * double * double -> Azure.AI.TextAnalytics.SentimentConfidenceScores
Public Shared Function SentimentConfidenceScores (positiveScore As Double, neutralScore As Double, negativeScore As Double) As SentimentConfidenceScores

Parameters

positiveScore
Double

Sets the Positive property.

neutralScore
Double

Sets the Neutral property.

negativeScore
Double

Sets the Negative property.

Returns

A new instance of SentimentConfidenceScores for mocking purposes.

Applies to