spatPatClassifyR: Classify Spatial Landscape Patterns Using Neural Networks
Source:R/spatPatClassifyR.R
spatPatClassifyR.RdClassification of spatial landscape patterns using neural networks. The package provides tools for generating artificial landscapes with different spatial patterns, calculating landscape metrics, and training neural network classifiers.
Two classification approaches are supported:
**Pixel-based classification** using convolutional neural networks via keras3 (see
train_nn_pixels)**Metrics-based classification** using landscape metrics computed with landscapemetrics as input features for a neural network (see
train_nn_metrics)
Typical workflow
Generate training landscapes with
create_landscapesOptionally calculate and evaluate landscape metrics with
calculate_landscape_metricsandevaluate_landscape_metricsTrain a classifier with
train_nn_pixelsortrain_nn_metricsApply the trained model to new landscapes with
apply_nn_pixelsorapply_nn_metricsVisualize results with
plot_classified_landscapes
References
Baldauf, S., Tietjen, B., & Berger, U. (2025). spatPatClassifyR: An R package for classifying spatial landscape patterns using neural networks. *Methods in Ecology and Evolution*. In review.
Author
Maintainer: Selina Baldauf selina.baldauf@fu-berlin.de (ORCID)
Authors:
Britta Tietjen britta.tietjen@fu-berlin.de (ORCID)
Uta Berger uta.berger@tu-dresden.de (ORCID)