<root>
  <key>TrainOGRLayersClassifier</key>
  <exec>otbcli_TrainOGRLayersClassifier</exec>
  <longname>TrainOGRLayersClassifier</longname>
  <group>Segmentation</group>
  <description>Train a SVM classifier based on labeled geometries and a list of features to consider.</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputFilename">ParameterFile</parameter_type>
    <key>inshp</key>
    <name>Name of the input shapefile</name>
    <description>Name of the input shapefile</description>
    <isFolder />
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputFilename">ParameterFile</parameter_type>
    <key>instats</key>
    <name>XML file containing mean and variance of each feature.</name>
    <description>XML file containing mean and variance of each feature.</description>
    <isFolder />
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputFilename">OutputFile</parameter_type>
    <key>outsvm</key>
    <name>Output model filename.</name>
    <description>Output model filename.</description>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_StringList">ParameterString</parameter_type>
    <key>feat</key>
    <name>List of features to consider for classification.</name>
    <description>List of features to consider for classification.</description>
    <options />
    <default />
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_String">ParameterString</parameter_type>
    <key>cfield</key>
    <name>Field containing the class id for supervision</name>
    <description>Field containing the class id for supervision. Only geometries with this field available will be taken into account.</description>
    <default>class</default>
    <multiline />
    <optional>False</optional>
  </parameter>
</root>
