Raster Modeller
Build continuous-value raster predictions, train reusable machine-learning and deep-learning models, tune hyperparameters, save trained models as project assets, and apply an existing model to new predictor data without retraining.
Regression & Raster PredictionReusable Trained ModelsCNN + U-NetProcessing & Model Reports1. What Raster Modeller Does
Raster Modeller learns the relationship between raster predictor variables and a numeric target, then produces a continuous prediction surface. The current workflow can stop after a one-off raster prediction, save the trained model for later reuse, or train a model without producing a raster immediately.
Typical applications include biomass, canopy metrics, environmental variables, soil or water parameters, continuous risk surfaces, and other numeric targets that have representative reference samples.
2. Workflow Modes
Choose the workflow from the top of Raster Modeller. The form changes so that only the inputs and outputs relevant to the selected workflow are shown.
Fit the selected method from the current training samples and immediately create a prediction raster. The fitted model is not retained as a reusable project model.
Output: RasterTrain the model, select a tuned configuration, create the raster prediction, and save the same fitted model as a reusable model asset.
Output: RasterOutput: ModelTrain and validate a reusable model without generating a raster prediction in the same run. Use this when the main goal is to build a model asset for later inference.
Output: Model onlySelect a previously saved Raster Modeller model and apply it to a compatible predictor raster. The saved model is loaded directly; it is not trained again.
Output: New Raster3. Training, Sampling & Validation
Training samples
Training samples may be point or area-based reference features. Each sample must provide a numeric target field. Raster Modeller extracts the selected predictor bands/features at the sample locations and builds a learning table.
Validation methods
| Method | How it works | When to use |
|---|---|---|
| Auto Split | Automatically divides usable samples into training and validation subsets using the configured training percentage and random state. | Good default when one representative reference dataset is available. |
| Manual Validation Layer | Uses a separate validation dataset and target field that were not used to fit the model. | Preferred when an independent reference dataset is available. |
Why validation matters
Training accuracy describes fit to samples the model has already seen. Validation accuracy estimates generalization to unseen samples. A model can have excellent training performance and still generalize poorly.
4. Algorithms & Theory
Algorithm availability depends on workflow. Simple linear methods are intended primarily for one-off statistical regression; in workflows that create reusable trained-model assets, the current UI disables Single Linear Regression and Multiple Linear Regression.
Single Linear Regression (SLR)
Models one predictor band with a straight-line relationship.
Use when one predictor has a clearly interpretable, approximately linear relationship with the target.
Multiple Linear Regression (MLR)
Combines several predictor bands using an additive linear model.
Useful for interpretable multiband relationships. Check collinearity and VIF diagnostics.
Random Forest
Ensembles many decision trees trained from randomized samples and predictor subsets.
Strong general-purpose nonlinear baseline; handles interactions and usually requires limited feature scaling.
SVR (Support Vector Regression)
Fits a regularized regression function with an ε-insensitive error region; kernels can model nonlinear relationships.
Effective for moderate sample sizes; scaling and C/ε/kernel settings matter.
MLP (Multi-Layer Perceptron)
A feed-forward neural network that learns nonlinear transformations of predictor values.
Useful when relationships are nonlinear and the training set is sufficiently representative.
KAN (Kolmogorov–Arnold Network)
Uses learnable univariate functions on network edges, inspired by the Kolmogorov–Arnold representation theorem.
A flexible alternative for nonlinear regression and scientific experimentation.
Transformer
Uses attention to learn cross-band or feature interactions instead of treating every predictor independently.
Best suited to complex feature interactions when training data and computation are adequate.
CNN (Convolutional Neural Network)
Uses convolution kernels over local raster neighborhoods. Unlike a per-pixel tabular model, a CNN can learn texture, edges and spatial context around the prediction location.
Useful when nearby pixels contain information that a single-pixel spectrum cannot capture. It typically needs more samples and computation than RF/SVR.
U-Net
A convolutional encoder–decoder with skip connections. The encoder learns multiscale context; the decoder reconstructs a dense per-pixel prediction while skip connections preserve fine spatial detail.
Useful for spatially structured continuous surfaces where both broad context and local boundaries matter. It is more compute- and data-intensive.
5. Hyperparameter Tuning
Hyperparameters control model structure or learning behavior but are not directly fitted like ordinary model coefficients. Examples include tree depth, number of trees, regularization, learning rate, network depth, batch size, convolution settings or attention dimensions.
You specify the algorithm parameters directly. This is useful for controlled experiments, reproducing a known configuration, or quick one-off processing.
The system evaluates multiple candidate configurations, compares them using the selected objective/validation design, and keeps the best configuration for the final fit.
6. Inputs, Parameters & Outputs
| Input / Control | Purpose |
|---|---|
| Predictor Raster | Raster bands/features used to explain the numeric target. A trained model can only be reused with compatible predictor structure. |
| Training Samples | Point or area reference features used for training. |
| Target Field | Numeric attribute representing the variable to predict. |
| Input Bands / Predictors | Selects which raster bands/features are used by the model. |
| Validation Method | Auto Split or an independent Manual Validation Layer. |
| Algorithm Method | SLR, MLR, Random Forest, SVR, MLP, KAN, Transformer, CNN or U-Net, depending on workflow. |
| Hyperparameter Mode | Manual configuration or Hyperparameter Tuning. Process Once + Save Model uses tuning in the current workflow. |
| Model Output Name | Name of the reusable model asset when a model is saved. |
| Raster Output Name | Name of the generated prediction raster when the workflow produces raster output. |
Output matrix
| Workflow | Raster Output | Reusable Model | Retraining? |
|---|---|---|---|
| Process Once | Yes | No | Yes, for this run |
| Process Once + Save Model | Yes | Yes | Yes, then the fitted model is saved |
| Train & Save Model | No | Yes | Yes |
| Use Trained Model | Yes | Existing model reused | No |
7. How to Read the Reports
Raster Modeller can expose two complementary reports. They answer different questions and should not be interpreted as duplicates.
Processing Report
Question answered: “What happened during this analysis job?”
- Inputs and selected parameters
- Method and validation configuration
- Run-level model diagnostics
- ROI & sampling details
- Raster/model outputs
- Execution stages and duration
- CPU/RAM resource usage
- Context, warnings and technical metadata
Model Report
Question answered: “What is this saved model, how well was it trained, and can I reuse it?”
- Algorithm / model family
- Target and predictor bands/features
- Training & validation metrics
- Final hyperparameters
- Hyperparameter tuning result
- Artifact/contract information
- Compatibility and reuse information
- Link back to the originating processing report
Key model metrics
Recommended reading order
- Confirm inputs. Make sure predictor raster, bands, training layer, target field and validation method are the intended ones.
- Check sample counts. Very small or unbalanced training/validation sets make metrics unstable.
- Compare training vs validation. Look for good validation performance without an excessive generalization gap.
- Read RMSE/MAE in target units. Decide whether the error magnitude is acceptable for the application—not against a universal threshold.
- Check bias and residuals. Residuals should not show strong systematic structure; bias should be small relative to target scale.
- Review predictor diagnostics. Look for unstable dependence on one predictor, collinearity in MLR, or plausible feature importance patterns.
- Inspect execution/resources. CNN/U-Net/Transformer/KAN may need more CPU/GPU/RAM/time than RF/SVR/linear methods.
- Validate spatially. Compare the prediction raster with independent reference information and check for artifacts, edge effects, NoData problems or extrapolation.
8. Reusing a Trained Model
A saved Raster Modeller model is a project model asset that contains the fitted estimator plus the information required to interpret its expected predictors. Reuse avoids retraining when the model is already approved and the new raster is compatible.
- Open Raster Modeller.
- Set Workflow to Use Trained Model.
- Select the saved model from Trained Model. Newest models are listed first and can be searched.
- Select the new Predictor Raster.
- Verify that predictor bands/features, preprocessing, scale and units are compatible with the original training data.
- Enter an output raster name and run prediction.
9. Best Practices
- Use analysis-ready predictor rasters with consistent units, masks and preprocessing.
- Design training samples to cover the full target range and spatial variability; avoid clustering all samples in one easy area.
- Prefer independent validation data when available.
- Do not choose an algorithm from training R² alone; compare validation error and residual behavior.
- Use Random Forest/SVR as strong conventional baselines before concluding that a deeper model is necessary.
- Use CNN/U-Net when spatial neighborhood and multiscale context are scientifically relevant and sufficient training data exist.
- When tuning, record the search space and validation design; a best trial is only meaningful within that search space.
- Before reusing a model, verify predictor identity, band order, preprocessing, resolution and valid numeric ranges.
- Review both the Processing Report and Model Report when a reusable model will be used operationally.