Create regression dataset (from continuous-valued vector layer and feature raster)ΒΆ

Create a regression dataset by sampling data and store the result as a pickle file.


Continuous-valued vector layer [vector]
Continuous-valued vector layer specifying sample locations and target data y. If required, the layer is reprojected and rasterized internally to match the feature raster grid.
Raster layer with features [raster]
Raster layer used for sampling feature data X.
Fields with targets [field]
Fields 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.


Output dataset [fileDestination]
Pickle file destination.

Command-line usage

>qgis_process help enmapbox:CreateRegressionDatasetFromContinuousvaluedVectorLayerAndFeatureRaster:


continuousVector: Continuous-valued vector layer
    Argument type:  vector
    Acceptable values:
            - Path to a vector layer
featureRaster: Raster layer with features
    Argument type:  raster
    Acceptable values:
            - Path to a raster layer
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


outputRegressionDataset: <outputFile>
    Output dataset