4.2.1 Model Builder¶
Fig. 4.10 Model Builder Widget¶
Create models with the results of the analyses.
4.2.1.1 Usage¶
- Pick a feature dataset to use for model creation. You can either choose from the projectsfeatures or select one from your PC (1).
(Optional) Adjust the advanced settings (18)
(Optional) Add datasets from outside your project (2) to the available ones (4)
- Select the datasets (4) you want to for the model and add them to the model layers (8). Youcan either right click on them or select them and click (5).
Name the model (3)
(Optional) Adjust the Expression (10)
Create the model (11)
To move a dataset from the model datasets (8) to the list of available datasets you can either right click it or select it and click (6).
To remove a dataset from the list of available datasets (4) select it and press (7).
After LSAT finished creating the model it appear in the list of models (16). Select it to:
Export the model as an raster (12)
View detailed model information (13)
Delete the model (14)
Open the model in the Zoning Widget (15)
The receiver operating characteristics (ROC) Curve is displayed in (17). If you generated a model using multiple samples a range will indicate the minimum and maximum ROC curves.
4.2.1.2 Advanced Settings¶
Fig. 4.11 Model Builder Advanced Settings¶
Model Builder uses the same Advanced Settings as Weights of Evidence.
- Choose between On-the-fly subsampling (2), predefined subsamples (3) or select neither to usesingle sample mode
On-the-fly subsampling (2)
- Set the size of the subsamples as percent of the import feature either by typing anumber (1) or adjusting the slider.
Set the number of samples to generate on-the-fly
Predefined subsamples (3)
- Provide a path to the folder with the predefined subsamples. You can either type inthe absolute path yourself or pick one with a dialog (5).
Single sample mode (neither (2) nor (3) selected)
By selecting neither (2) or (3) LSAT will use 100% of the feature.
(Optional) Change the rasterization method (8)
Select OK (9)
4.2.1.3 Expression Builder¶
Fig. 4.12 Model Builder Expression Builder¶
With the expression builder you can modify and weigh input parameters. And so convert the normally entirely data-driven models into hybrid models.
The default expression (4) does not modify the output in any way.
You can write any expression (4). Double click on input datasets (1) and example operators (3) to add them at the cursor location in (4). You switch between example numpy operators using (2).
Warning
The expressions will be executed using eval(). While this is a powerful tool it can also break LSAT. Layer names must be legal python variable names.
4.2.1.4 Input and Output¶
Input |
Vector dataset (features) Analysis results |
Output |
Model (.npz) Default path: /results/susceptibility_maps/*name*.npz (Optional) Model Raster (.tif) Default path: /results/susceptibility_maps/*name*.tif |