Practical exercises
Search by title, method, software, tutorial ID or research theme. Expand a series to view each planned lesson.
All tutorials are planned. Exact versions, datasets and entitlement checks will accompany released lessons. Open educational materials do not imply free access to all software.
60 of 60 tutorials
Series A · Artificial Intelligence and GeoAI Fundamentals (6)
- AI-A01Permanent link
Introduction to GeoAI and geospatial learning tasks
Learning objective: Distinguish classification, regression, detection and segmentation tasks.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
- AI-A02Permanent link
Supervised, unsupervised and self-supervised learning
Learning objective: Compare learning settings and appropriate spatial examples.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
- AI-A03Permanent link
Geospatial tensors and image channels
Learning objective: Represent multiband imagery as arrays with spatial metadata.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
- AI-A04Permanent link
Setting up reproducible machine learning environments
Learning objective: Create an environment, record dependencies and set random seeds.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
- AI-A05Permanent link
Bias, leakage and spatial dependence in GeoAI
Learning objective: Identify examples of data leakage and geographic sampling bias.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
- AI-A06Permanent link
Designing a baseline GeoAI experiment
Learning objective: Define an outcome, train a simple baseline and choose evaluation metrics.
Software and inputs: Python; Jupyter; NumPy; scikit-learn
Series B · Training Data Preparation and Feature Engineering (8)
- AI-B01Permanent link
Creating labelled spatial samples
Learning objective: Construct a class schema and reconcile overlapping labels.
Software and inputs: Python; GeoPandas; Rasterio; NumPy
- AI-B02Permanent link
Extracting raster predictors at sample locations
Learning objective: Sample aligned raster layers and check missing values.
Software and inputs: Python; GeoPandas; Rasterio; NumPy
- AI-B03Permanent link
Preparing image chips and segmentation masks
Learning objective: Tile rasters and masks with consistent transforms and class codes.
Software and inputs: Python; GeoPandas; Rasterio; NumPy
- AI-B04Permanent link
Normalising multi-sensor input features
Learning objective: Fit scaling parameters on training data only and apply them to validation.
Software and inputs: Python; GeoPandas; Rasterio; NumPy
- AI-B05Permanent link
Handling class imbalance in training datasets
Learning objective: Compare weighting and resampling while preserving test distributions.
Software and inputs: Python; GeoPandas; Rasterio; NumPy; scikit-learn
- AI-B06Permanent link
Spatial and temporal data augmentation
Learning objective: Apply label-preserving transforms and compare augmentation effects.
Software and inputs: Python; GeoPandas; Rasterio; NumPy; Albumentations
- AI-B07Permanent link
Designing spatial train, validation and test partitions
Learning objective: Partition by geographic units and avoid overlap among image chips.
Software and inputs: Python; GeoPandas; Rasterio; NumPy
- AI-B08Permanent link
Dataset quality auditing and versioning
Learning objective: Detect duplicates, label inconsistencies and missing metadata.
Software and inputs: Python; GeoPandas; Rasterio; NumPy; Git; pandas
Series C · Classical Machine Learning (8)
- AI-C01Permanent link
Random Forest classification for land cover
Learning objective: Train a forest classifier and interpret held-out class metrics.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-C02Permanent link
Random Forest regression for environmental variables
Learning objective: Predict a continuous variable and map residual errors.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-C03Permanent link
Support Vector Machine classification with scikit-learn
Learning objective: Compare kernels and scaling using validation folds.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-C04Permanent link
Gradient boosting with XGBoost
Learning objective: Tune tree depth and learning rate using spatial validation.
Software and inputs: Python; scikit-learn; pandas; NumPy; xgboost
- AI-C05Permanent link
LightGBM for large spatial datasets
Learning objective: Compare runtime and accuracy under controlled feature settings.
Software and inputs: Python; scikit-learn; pandas; NumPy; lightgbm
- AI-C06Permanent link
Unsupervised clustering of spectral features
Learning objective: Compare K-means and density-based clusters with reference classes.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-C07Permanent link
Hyperparameter optimisation without test leakage
Learning objective: Use nested validation to select parameters without test-set tuning.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-C08Permanent link
Calibrating class probabilities
Learning objective: Compare calibration curves and evaluate probabilistic predictions.
Software and inputs: Python; scikit-learn; pandas; NumPy
Series D · Deep Learning Fundamentals (8)
- AI-D01Permanent link
Tensors, gradients and automatic differentiation
Learning objective: Implement a simple loss and inspect gradients.
Software and inputs: Python; PyTorch; NumPy
- AI-D02Permanent link
Training a fully connected neural network
Learning objective: Train and validate a small model using a reproducible loop.
Software and inputs: Python; PyTorch; NumPy
- AI-D03Permanent link
Convolutional neural networks for imagery
Learning objective: Compare convolution, pooling and receptive-field effects.
Software and inputs: Python; PyTorch; NumPy
- AI-D04Permanent link
Optimisers and learning-rate schedules
Learning objective: Compare convergence under different optimisers and schedules.
Software and inputs: Python; PyTorch; NumPy
- AI-D05Permanent link
Loss functions for imbalanced spatial labels
Learning objective: Compare cross-entropy, weighted loss and Dice loss.
Software and inputs: Python; PyTorch; NumPy
- AI-D06Permanent link
Regularisation and early stopping
Learning objective: Detect overfitting and select checkpoints using validation data.
Software and inputs: Python; PyTorch; NumPy
- AI-D07Permanent link
Transfer learning from pretrained networks
Learning objective: Fine-tune a compatible pretrained encoder and compare baselines.
Software and inputs: Python; PyTorch; NumPy; torchvision
- AI-D08Permanent link
GPU training and mixed precision
Learning objective: Measure memory, speed and numerical stability on supported hardware.
Software and inputs: Python; PyTorch; NumPy; Compatible GPU; CUDA or equivalent
Series E · Semantic Segmentation and Object Detection (10)
- AI-E01Permanent link
U-Net for semantic segmentation
Learning objective: Train an encoder–decoder model and evaluate pixel-level predictions.
Software and inputs: Python; PyTorch; Rasterio
- AI-E02Permanent link
Residual U-Net for building extraction
Learning objective: Compare residual blocks with a baseline U-Net on the same split.
Software and inputs: Python; PyTorch; Rasterio
- AI-E03Permanent link
DeepLabV3+ and dilated convolutions
Learning objective: Evaluate multi-scale context for feature boundary delineation.
Software and inputs: Python; PyTorch; Rasterio
- AI-E04Permanent link
Attention mechanisms in spatial segmentation
Learning objective: Test spatial or channel attention against an otherwise matched baseline.
Software and inputs: Python; PyTorch; Rasterio
- AI-E05Permanent link
Object detection with Faster R-CNN
Learning objective: Prepare bounding boxes and calculate precision–recall metrics.
Software and inputs: Python; PyTorch; Rasterio; torchvision
- AI-E06Permanent link
Instance segmentation with Mask R-CNN
Learning objective: Separate individual objects and evaluate mask overlap.
Software and inputs: Python; PyTorch; Rasterio; torchvision
- AI-E07Permanent link
Building footprint extraction from UAV imagery
Learning objective: Convert predicted masks into polygons and check topology.
Software and inputs: Python; PyTorch; Rasterio; GeoPandas; Shapely
- AI-E08Permanent link
Mangrove semantic segmentation
Learning objective: Classify mangrove pixels and evaluate geographic transferability.
Software and inputs: Python; PyTorch; Rasterio
- AI-E09Permanent link
Overlapping-tile inference and seam mitigation
Learning objective: Blend tile predictions and measure boundary artefacts.
Software and inputs: Python; PyTorch; Rasterio
- AI-E10Permanent link
Geospatial foundation models and transfer evaluation
Learning objective: Evaluate a compatible pretrained geospatial model on held-out regions.
Software and inputs: Python; PyTorch; Rasterio; Model-specific dependencies and weights
Series F · Spatial Prediction and Environmental Modelling (8)
- AI-F01Permanent link
Predicting soil salinity from spectral and field data
Learning objective: Train field-calibrated models and assess spatial prediction errors.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio; Field EC data
- AI-F02Permanent link
Agricultural drought intensity prediction
Learning objective: Compare lagged climate and vegetation predictors on held-out seasons.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio
- AI-F03Permanent link
Mapping coastal wetland classes with multi-sensor data
Learning objective: Fuse optical and radar features and validate wetland classes.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio
- AI-F04Permanent link
Predicting canopy height with remotely sensed features
Learning objective: Compare predictions against independent height observations.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio; Reference canopy heights
- AI-F05Permanent link
Landslide susceptibility modelling
Learning objective: Compare event inventory-based models and sampling sensitivity.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio; Landslide inventory
- AI-F06Permanent link
Urban feature mapping from high-resolution imagery
Learning objective: Evaluate predictions across neighbourhoods and acquisition conditions.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio
- AI-F07Permanent link
Habitat suitability modelling with spatial predictors
Learning objective: Evaluate suitability estimates while accounting for sampling bias.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio; Occurrence and background data
- AI-F08Permanent link
Domain adaptation for cross-region prediction
Learning objective: Compare source-only, fine-tuned and adapted models on independent target data.
Software and inputs: Python; scikit-learn; GeoPandas; Rasterio; PyTorch
Series G · Explainable AI and Model Evaluation (6)
- AI-G01Permanent link
Spatial block cross-validation
Learning objective: Compare blocked validation with random splits and interpret the gap.
Software and inputs: Python; scikit-learn; pandas; NumPy; GeoPandas
- AI-G02Permanent link
Classification metrics and area-adjusted accuracy
Learning objective: Compute class-specific accuracy and area estimates from probability samples.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-G03Permanent link
Regression error and uncertainty mapping
Learning objective: Map residuals and compare RMSE, MAE and interval coverage.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-G04Permanent link
Explaining predictions with SHAP
Learning objective: Interpret local and global explanations with correlated-feature caveats.
Software and inputs: Python; scikit-learn; pandas; NumPy; shap
- AI-G05Permanent link
Permutation importance and partial dependence
Learning objective: Compare predictor influence measures and inspect extrapolation risks.
Software and inputs: Python; scikit-learn; pandas; NumPy
- AI-G06Permanent link
Fairness and geographic transfer audits
Learning objective: Assess performance disparities by region and relevant population or habitat strata.
Software and inputs: Python; scikit-learn; pandas; NumPy
Series H · Model Deployment and Workflow Automation (6)
- AI-H01Permanent link
Exporting trained models for inference
Learning objective: Save model weights, preprocessing settings and class metadata.
Software and inputs: Python; PyTorch; Rasterio
- AI-H02Permanent link
Large-area tiled prediction
Learning objective: Run memory-bounded inference and reconstruct georeferenced outputs.
Software and inputs: Python; PyTorch; Rasterio
- AI-H03Permanent link
Converting models to ONNX
Learning objective: Export a compatible model and compare runtime predictions.
Software and inputs: Python; PyTorch; Rasterio; onnx; onnxruntime
- AI-H04Permanent link
Serving a geospatial prediction API
Learning objective: Expose validated inputs and return documented predictions.
Software and inputs: Python; PyTorch; Rasterio; FastAPI
- AI-H05Permanent link
Automating training and inference pipelines
Learning objective: Parameterise stages and track model and data versions.
Software and inputs: Python; PyTorch; Rasterio; Git; workflow runner
- AI-H06Permanent link
Monitoring deployed model performance and drift
Learning objective: Compare new data distributions and define retraining and quality triggers.
Software and inputs: Python; PyTorch; Rasterio; pandas; scikit-learn
Learning resources
Practical guidelines, videos, teaching datasets and source code will be linked here as they become available. Data redistribution and software licensing conditions will be respected.
