CustomFormSubmodel Class  
	- java.lang. Object 
- com.azure. ai. formrecognizer. training. models. CustomFormSubmodel 
 
- com.
public final class CustomFormSubmodel
The CustomFormSubmodel model.
Constructor Summary
| Constructor | Description | 
|---|---|
| CustomFormSubmodel(Float accuracy, Map<String,CustomFormModelField> fields, String formType) | Constructs a Custom | 
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| Float | getAccuracy() Get the estimated extraction accuracy for this model. | 
| Map<String,Custom | getFields() A map of the fields recognized from the input document. | 
| String | getFormType() Gets the recognized form type for the model. | 
| String | getModelId() Get the unique identifier for the submodel. | 
Methods inherited from java.lang.Object
Constructor Details
CustomFormSubmodel
public CustomFormSubmodel(Float accuracy, Map<String,CustomFormModelField> fields, String formType)
Constructs a CustomFormSubmodel object.
Parameters:
Method Details
getAccuracy
public Float getAccuracy()
Get the estimated extraction accuracy for this model.
Returns:
getFields
public Map<String,CustomFormModelField> 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:
getFormType
public String getFormType()
Gets the recognized form type for the model.
Returns:
getModelId
public String getModelId()
Get the unique identifier for the submodel.
Returns: