Share via


TrainResult Constructors

Definition

Overloads

TrainResult()

Initializes a new instance of the TrainResult class.

TrainResult(Guid, IList<FormDocumentReport>, IList<FormOperationError>)

Initializes a new instance of the TrainResult class.

TrainResult()

Initializes a new instance of the TrainResult class.

public TrainResult ();
Public Sub New ()

Applies to

TrainResult(Guid, IList<FormDocumentReport>, IList<FormOperationError>)

Initializes a new instance of the TrainResult class.

public TrainResult (Guid modelId = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.FormDocumentReport> trainingDocuments = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.FormOperationError> errors = default);
new Microsoft.Azure.CognitiveServices.FormRecognizer.Models.TrainResult : Guid * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.FormDocumentReport> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.FormOperationError> -> Microsoft.Azure.CognitiveServices.FormRecognizer.Models.TrainResult
Public Sub New (Optional modelId As Guid = Nothing, Optional trainingDocuments As IList(Of FormDocumentReport) = Nothing, Optional errors As IList(Of FormOperationError) = Nothing)

Parameters

modelId
Guid

Identifier of the model.

trainingDocuments
IList<FormDocumentReport>

List of documents used to train the model and the train operation error reported by each.

errors
IList<FormOperationError>

Errors returned during the training operation.

Applies to