| Published Version Download ( PDF | 1MB) | License: Creative Commons Attribution 4.0 |
‘cito': an R package for training neural networks using ‘torch'
Amesöder, Christian
, Hartig, Florian
and Pichler, Maximilian
(2024)
‘cito': an R package for training neural networks using ‘torch'.
Ecography 2024 (6), e07143.
Date of publication of this fulltext: 06 Jun 2024 05:54
Article
DOI to cite this document: 10.5283/epub.58389
Abstract
Deep neural networks (DNN) have become a central method in ecology. To build and train DNNs in deep learning (DL) applications, most users rely on one of the major deep learning frameworks, in particular PyTorch or TensorFlow. Using these frameworks, however, requires substantial experience and time. Here, we present ‘cito', a user-friendly R package for DL that allows specifying DNNs in the ...
Deep neural networks (DNN) have become a central method in ecology. To build and train DNNs in deep learning (DL) applications, most users rely on one of the major deep learning frameworks, in particular PyTorch or TensorFlow. Using these frameworks, however, requires substantial experience and time. Here, we present ‘cito', a user-friendly R package for DL that allows specifying DNNs in the familiar formula syntax used by many R packages. To fit the models, ‘cito' takes advantage of the numerically optimized ‘torch' library, including the ability to switch between training models on the CPU or the graphics processing unit (GPU) which allows the efficient training of large DNNs. Moreover, ‘cito' includes many user-friendly functions for model plotting and analysis, including explainable AI (xAI) metrics for effect sizes and variable importance. All xAI metrics as well as predictions can optionally be bootstrapped to generate confidence intervals, including p-values. To showcase a typical analysis pipeline using ‘cito', with its built-in xAI features, we built a species distribution model of the African elephant. We hope that by providing a user-friendly R framework to specify, deploy and interpret DNNs, ‘cito' will make this interesting class of models more accessible to ecological data analysis. A stable version of ‘cito' can be installed from the comprehensive R archive network (CRAN).
Alternative links to fulltext
Involved Institutions
Details
| Item type | Article | ||||
| Journal or Publication Title | Ecography | ||||
| Publisher: | Wiley | ||||
|---|---|---|---|---|---|
| Open Access Type: | DEAL (Wiley Gold) | ||||
| Volume: | 2024 | ||||
| Number of Issue or Book Chapter: | 6 | ||||
| Page Range: | e07143 | ||||
| Date | 6 May 2024 | ||||
| Institutions | Biology, Preclinical Medicine > Institut für Pflanzenwissenschaften > Group Theoretical Ecology (Prof. Dr. Florian Hartig) | ||||
| Identification Number |
| ||||
| Keywords | classification, machine learning, R language, regression, species distribution model, causal inference, predictive modelling, deep learning | ||||
| Dewey Decimal Classification | 500 Science > 500 Natural sciences & mathematics 500 Science > 570 Life sciences 500 Science > 580 Botanical sciences | ||||
| Status | Published | ||||
| Refereed | Yes, this version has been refereed | ||||
| Created at the University of Regensburg | Yes | ||||
| URN of the UB Regensburg | urn:nbn:de:bvb:355-epub-583898 | ||||
| Item ID | 58389 |
Download Statistics
Download Statistics