Udostępnij za pośrednictwem


TextAnalysisModelFactory.CustomLabelClassificationResult Method

Definition

Initializes a new instance of CustomLabelClassificationResult.

public static Azure.AI.Language.Text.CustomLabelClassificationResult CustomLabelClassificationResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentError> errors = default, Azure.AI.Language.Text.RequestStatistics statistics = default, string projectName = default, string deploymentName = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.ClassificationActionResult> documents = default);
static member CustomLabelClassificationResult : seq<Azure.AI.Language.Text.DocumentError> * Azure.AI.Language.Text.RequestStatistics * string * string * seq<Azure.AI.Language.Text.ClassificationActionResult> -> Azure.AI.Language.Text.CustomLabelClassificationResult
Public Shared Function CustomLabelClassificationResult (Optional errors As IEnumerable(Of DocumentError) = Nothing, Optional statistics As RequestStatistics = Nothing, Optional projectName As String = Nothing, Optional deploymentName As String = Nothing, Optional documents As IEnumerable(Of ClassificationActionResult) = Nothing) As CustomLabelClassificationResult

Parameters

errors
IEnumerable<DocumentError>

Errors by document id.

statistics
RequestStatistics

if showStats=true was specified in the request this field will contain information about the request payload.

projectName
String

This field indicates the project name for the model.

deploymentName
String

This field indicates the deployment name for the model.

documents
IEnumerable<ClassificationActionResult>

Response by document.

Returns

A new CustomLabelClassificationResult instance for mocking.

Applies to