Share via


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