Create regression dataset (from continuous-valued vector layer with attribute table)

Create a regression dataset from attribute table rows that matches the given target variables and store the result as a pickle file.

Usage:

  1. Open the algorithm from the processing toolbox.

  2. Select a continuous raster layer containing your classes as well as a raster layer containing your features, e. g. a satellite image, then click run.

    usr_section/usr_manual/processing_algorithms/dataset_creation/source/usr_section/usr_manual/processing_algorithms_includes/dataset_creation/img/regratser.png
  3. The output classification dataset will be listed under Models in your Data Sources panel.

Parameters

Continuous-valued vector layer [vector]

Continuous-valued vector layer specifying feature data X and target data y.

Fields with features [field]

Fields with values used as feature data X.

Fields with targets [field]

Fields with values used as used as target data y. If not selected, the fields defined by the renderer are used. If those are also not specified, an error is raised.

Outputs

Output dataset [fileDestination]

Pickle file destination.

Command-line usage

>qgis_process help enmapbox:CreateRegressionDatasetFromContinuousvaluedVectorLayerWithAttributeTable:

----------------
Arguments
----------------

continuousVector: Continuous-valued vector layer
    Argument type:  vector
    Acceptable values:
            - Path to a vector layer
featureFields: Fields with features
    Argument type:  field
    Acceptable values:
            - The name of an existing field
            - ; delimited list of existing field names
targetFields: Fields with targets (optional)
    Argument type:  field
    Acceptable values:
            - The name of an existing field
            - ; delimited list of existing field names
outputRegressionDataset: Output dataset
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file

----------------
Outputs
----------------

outputRegressionDataset: <outputFile>
    Output dataset