Modeling defoliation as a proxy for tree health: Comparison of feature-selection methods across multiple feature sets derived from hyperspectral data

Authors

Patrick Schratz (patrick.schratz@gmail.com)

Jannes Muenchow

Eugenia Iturritxa

José Cortés

Bernd Bischl

Alexander Brenning

Contents

Paper

This repository contains the research compendium of our work on comparing algorithms across multiple feature sets and filtering methods (including ensemble filter methods).

The following directories belong to this project

Other Content

In addition, this repo contains the workflow for an analysis related to the LIFE 14 ENV/ES/000179 LIFE HEALTHY FOREST project: Predicting defoliation at trees for the Basque Country (for the years 2017 and 2018) using Sentinel-2 data.

Target defoliation_maps_wfr builds subsequent argets which are necessary for the final results report.

How to use

Reading the code, accessing the data

See the code directory on GitHub for the source code that generated the figures and statistical results contained in the manuscript. See the data directory for instructions how to access the raw data used in the manuscript.

Installing the R package

This repository is organized as an R package, providing functions and raw data to reproduce and extend the analysis reported in the publication. Note that this package has been written explicitly for this project and is not suited a for more general use.

This project is setup with a drake workflow, ensuring reproducibility. Intermediate targets/objects will be stored in a hidden .drake directory.

The R library of this project is managed by renv. This makes sure that the exact same package versions are used when recreating the project. When calling renv::restore(), all required packages will be installed with their specific version.

Please note that this project was built with R version 4.0.4 on a CentOS 7 operating system. Some packages from this project are not compatible with R versions prior version 3.6.0.

To clone the project, a working installation of git is required. Open a terminal in the directory of your choice and execute:

git clone https://github.com/pat-s/2019-feature-selection.git

Then start R in this directory and run

renv::restore()
r_make()

Creating targets with {drake}

Calling r_make() will create targets specified in drake_config(targets = <target>) in _drake.R with the additional drake settings specified.

Out of the 400+ targets in this project, the following targets are important:

Note that most reports require some/all fitted models. Creating these (e.g. target benchmark_no_models) is a costly process and takes several days on a HPC and way longer on a single machine.

Notes and resources



pat-s/2019-feature-selection documentation built on Dec. 24, 2021, 8:40 a.m.