共用方式為


TextAnalysisModelFactory.TargetConfidenceScoreLabel(Double, Double) Method

Definition

Initializes a new instance of TargetConfidenceScoreLabel.

public static Azure.AI.Language.Text.TargetConfidenceScoreLabel TargetConfidenceScoreLabel (double positive = 0, double negative = 0);
static member TargetConfidenceScoreLabel : double * double -> Azure.AI.Language.Text.TargetConfidenceScoreLabel
Public Shared Function TargetConfidenceScoreLabel (Optional positive As Double = 0, Optional negative As Double = 0) As TargetConfidenceScoreLabel

Parameters

positive
Double

Confidence score for positive sentiment.

negative
Double

Confidence score for negative sentiment.

Returns

A new TargetConfidenceScoreLabel instance for mocking.

Applies to