TextAnalysisModelFactory.TargetConfidenceScoreLabel(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.