TextAnalysisAuthoringModelFactory.DocumentTextSentimentEvalResult 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 DocumentTextSentimentEvalResult.
public static Azure.AI.Language.Text.Authoring.DocumentTextSentimentEvalResult DocumentTextSentimentEvalResult(System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult> expectedSentimentSpans = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult> predictedSentimentSpans = default);
static member DocumentTextSentimentEvalResult : seq<Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult> * seq<Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult> -> Azure.AI.Language.Text.Authoring.DocumentTextSentimentEvalResult
Public Shared Function DocumentTextSentimentEvalResult (Optional expectedSentimentSpans As IEnumerable(Of DocumentSentimentLabelEvalResult) = Nothing, Optional predictedSentimentSpans As IEnumerable(Of DocumentSentimentLabelEvalResult) = Nothing) As DocumentTextSentimentEvalResult
Parameters
- expectedSentimentSpans
- IEnumerable<DocumentSentimentLabelEvalResult>
Represents the document's expected sentiment labels.
- predictedSentimentSpans
- IEnumerable<DocumentSentimentLabelEvalResult>
Represents the document's predicted sentiment labels.
Returns
A new DocumentTextSentimentEvalResult instance for mocking.