> ## 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.

# 要素パラメーターの学習

> ABBYY FlexiLayout Studio で要素パラメーターを学習します。トレーニングセットを準備してから、Choose Trained Element Parameters ダイアログで値を適用します。

要素の学習機能は、単純型の要素ごとに個別のパラメーターを自動設定するために使用します。必要に応じて、新しい要素を学習させたり、以前に作成した要素のパラメーターを修正したりできます。

<div id="prerequisites-for-element-training">
  ## 要素の学習の前提条件
</div>

* 学習対象の要素について、複数のページに正しい **Reference layout** または **Matched layout** が必要です。
* トレーニングセットに含めるすべてのページは、**Batch** タブで **Use for Training** としてマークされている必要があります。

<Note>
  **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 ツールアイコン" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="22" height="23" data-path="images/flexi-capture/fls/create_new.gif" /> ツールを使用して新しい要素を作成し、画像上にその Region を描画することも、**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 ツールアイコン" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="23" height="21" data-path="images/flexi-capture/fls/Button_Draw_Location.png" /> ツールを使用して、ツリー内の既存の要素の位置を描画することもできます。
</Note>

<div id="train-an-element">
  ## 要素を学習する
</div>

<Steps>
  <Step title="Choose Trained Element Parameters ダイアログを開く">
    要素の shortcut menu で **Train Element** → **Train Element Parameters** を選択します。**Choose Trained Element Parameters** ダイアログが開き、学習対象の要素のパラメーターとその値が表示されます。依存パラメーターの名前はインデント表示されます。

    <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="Choose Trained Element Parameters ダイアログのスクリーンショット。学習対象の要素のパラメーターと新旧の値、パラメーターを選択するためのチェックボックス、Show ドロップダウン、Apply Changes ボタンが表示されています。" width="594" height="395" data-path="images/flexi-capture/fls/param_selection.PNG" />
    </Frame>
  </Step>

  <Step title="表示するパラメーターを選択する">
    **Show** ドロップダウンリストで **modified parameters only** を選択すると、学習中に変更されたパラメーターだけが表示されます。**all parameters** を選択すると、要素のすべてのパラメーターが表示されます。
  </Step>

  <Step title="適用するパラメーターを選択する">
    そのパラメーターに学習結果を適用するには、パラメーター名の左にあるチェックボックスをオンにします。変更済みのすべてのパラメーターを選択するには、**Parameter name** キャプションの横にあるチェックボックスをオンにします。
  </Step>

  <Step title="Apply Changes をクリックする">
    選択したパラメーターの新しい値が保存されます。
  </Step>
</Steps>
