Predict class probability layer
Uses a fitted classifier to predict class probability layer from a raster layer with features.
Usage:
Start the algorithm from the Processing Toolbox panel.
Select a raster to process and a trained classifier then click run.
Parameters
- Raster layer with features [raster]
A raster layer with bands used as features. Classifier features and raster bands are matched by name.
- Classifier [file]
A fitted classifier.
- Match features and bands by name [boolean]
Whether to match raster bands and classifier features by name.
Default: False
Outputs
- Output class probability layer [rasterDestination]
Raster file destination.
Command-line usage
>qgis_process help enmapbox:PredictClassProbabilityLayer
:
----------------
Arguments
----------------
raster: Raster layer with features
Argument type: raster
Acceptable values:
- Path to a raster layer
classifier: Classifier
Argument type: file
Acceptable values:
- Path to a file
matchByName: Match features and bands by name (optional)
Default value: false
Argument type: boolean
Acceptable values:
- 1 for true/yes
- 0 for false/no
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
outputProbability: Output class probability layer
Argument type: rasterDestination
Acceptable values:
- Path for new raster layer
----------------
Outputs
----------------
outputProbability: <outputRaster>
Output class probability layer