mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
5 lines
2.6 KiB
HTML
5 lines
2.6 KiB
HTML
<html><head>
|
|
<style type="text/css">
|
|
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
|
|
</style>
|
|
</head><body><h1>TrainOGRLayersClassifier</h1><h2>Brief Description</h2>Train a SVM classifier based on labeled geometries and a list of features to consider.<h2>Tags</h2>Segmentation<h2>Long Description</h2>This application trains a SVM classifier based on labeled geometries and a list of features to consider for classification.<h2>Parameters</h2><ul><li><b>[param] -inshp</b> <string> Name of the input shapefile. Mandatory: True. Default Value: ""</li><li><b>[param] -instats</b> <string> XML file containing mean and variance of each feature.. Mandatory: True. Default Value: ""</li><li><b>[param] -outsvm</b> <string> Output model filename.. Mandatory: True. Default Value: ""</li><li><b>[param] -cfield</b> <string> Field containing the class id for supervision. Only geometries with this field available will be taken into account.. Mandatory: True. Default Value: "class"</li><li><b>[param] -inxml</b> <string> Load otb application from xml file. Mandatory: False. Default Value: ""</li><li><b>[param] -outxml</b> <string> Save otb application to xml file. Mandatory: False. Default Value: ""</li><b>[choice] -feat</b> List of features to consider for classification. . Mandatory: True. Default Value: ""<ul></ul></ul><h2>Limitations</h2>Experimental. For now only shapefiles are supported. Tuning of SVM classifier is not available.<h2>Authors</h2>David Youssefi during internship at CNES<h2>See Also</h2>OGRLayerClassifier,ComputeOGRLayersFeaturesStatistics<h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">inshp: vectorData.shp</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">instats: meanVar.xml</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">outsvm: svmModel.svm</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">feat: perimeter</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">cfield: predicted</p></li></ul></body></html> |