TextAnalysisModelFactory.SentimentConfidenceScores 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 SentimentConfidenceScores.
public static Azure.AI.Language.Text.SentimentConfidenceScores SentimentConfidenceScores (double positive = 0, double neutral = 0, double negative = 0);
static member SentimentConfidenceScores : double * double * double -> Azure.AI.Language.Text.SentimentConfidenceScores
Public Shared Function SentimentConfidenceScores (Optional positive As Double = 0, Optional neutral As Double = 0, Optional negative As Double = 0) As SentimentConfidenceScores
Parameters
- positive
- Double
Confidence score for positive sentiment.
- neutral
- Double
Confidence score for neutral sentiment.
- negative
- Double
Confidence score for negative sentiment.
Returns
A new SentimentConfidenceScores instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET