Class CustomFormSubmodel
java.lang.Object
com.azure.ai.formrecognizer.training.models.CustomFormSubmodel
The CustomFormSubmodel model.
-
Constructor Summary
ConstructorDescriptionCustomFormSubmodel
(Float accuracy, Map<String, CustomFormModelField> fields, String formType) Constructs a CustomFormSubmodel object. -
Method Summary
Modifier and TypeMethodDescriptionGet the estimated extraction accuracy for this model.A map of the fields recognized from the input document.Gets the recognized form type for the model.Get the unique identifier for the submodel.
-
Constructor Details
-
CustomFormSubmodel
Constructs a CustomFormSubmodel object.- Parameters:
accuracy
- The estimated extraction accuracy for this model.fields
- The Map of fields used to train the model.formType
- The recognized form type.
-
-
Method Details
-
getAccuracy
Get the estimated extraction accuracy for this model.- Returns:
- the accuracy value.
-
getFormType
Gets the recognized form type for the model.- Returns:
- the form type for the model.
-
getFields
A map of the fields recognized from the input document. For models trained with labels, this is the training-time label of the field. For models trained with forms only, a unique name is generated for each field.- Returns:
- the unmodifiable map of recognized fields.
-
getModelId
Get the unique identifier for the submodel.- Returns:
- the modelId value.
-