> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Train element parameters

> Train element parameters in ABBYY FlexiLayout Studio: prepare a training set, and then apply values from the Choose Trained Element Parameters dialog box.

Element training is used to automate the configuration of individual parameters for elements of simple types. You can train a new element or correct the parameters of a previously created element if necessary.

## Prerequisites for element training

* For the element to be trained, a correct **Reference layout** or **Matched layout** on several pages is required.
* All pages to be included in the training set must be marked as **Use for Training** on the **Batch** tab.

<Note>
  You can either create a new element and draw its region on the image using the **Create New (Ctrl+Space)** <img src="https://mintcdn.com/abbyy/lqYknuOmCa79141v/images/flexi-capture/fls/create_new.gif?fit=max&auto=format&n=lqYknuOmCa79141v&q=85&s=c8f350bd5327402baa9222e1c8c3fe99" alt="Create New tool icon" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="22" height="23" data-path="images/flexi-capture/fls/create_new.gif" /> tool or draw a location for an existing element of the tree using the **Draw Location** <img src="https://mintcdn.com/abbyy/fmgRWFNHKYN2MLSg/images/flexi-capture/fls/Button_Draw_Location.png?fit=max&auto=format&n=fmgRWFNHKYN2MLSg&q=85&s=8f9a84915725c8d433844e218e3d1907" alt="Draw Location tool icon" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="23" height="21" data-path="images/flexi-capture/fls/Button_Draw_Location.png" /> tool.
</Note>

## Train an element

<Steps>
  <Step title="Open the Choose Trained Element Parameters dialog box">
    On the element's shortcut menu, select **Train Element** → **Train Element Parameters**. The **Choose Trained Element Parameters** dialog box opens, showing the parameters of the trained element and their values. Names of dependent parameters are indented.

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/param_selection.PNG?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=2cb6887f46217c36ca7a611f0da51670" alt="Screenshot of the Choose Trained Element Parameters dialog box, showing the trained element's parameters with their new and old values, checkboxes for selecting parameters, a Show drop-down, and an Apply Changes button." width="594" height="395" data-path="images/flexi-capture/fls/param_selection.PNG" />
    </Frame>
  </Step>

  <Step title="Select which parameters to view">
    From the **Show** drop-down list, select **modified parameters only** to see only those parameters which were modified during training, or select **all parameters** to see all parameters of the element.
  </Step>

  <Step title="Select the parameters to apply">
    Select the checkbox to the left of the parameter name to use the training result for this parameter. You can select the checkbox next to the **Parameter name** caption to select all modified parameters.
  </Step>

  <Step title="Click Apply Changes">
    The new values of the selected parameters are saved.
  </Step>
</Steps>
