cito: An R package for training neural networks using torch
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNN) have become a central method in ecology. Most current deep learning (DL) applications rely on one of the major deep learning frameworks, in particular Torch or TensorFlow, to build and train DNN. Using these frameworks, however, requires substantially more experience and time than typical regression functions in the R environment. 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' uses 'torch', taking 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 to efficiently train large DNN). Moreover, 'cito' includes many user-friendly functions for model plotting and analysis, including optional confidence intervals (CIs) based on bootstraps for predictions and explainable AI (xAI) metrics for effect sizes and variable importance with CIs and p-values. To showcase a typical analysis pipeline using 'cito', including its built-in xAI features to explore the trained DNN, we build a species distribution model of the African elephant. We hope that by providing a user-friendly R framework to specify, deploy and interpret DNN, 'cito' will make this interesting model class more accessible to ecological data analysis. A stable version of 'cito' can be installed from the comprehensive R archive network (CRAN).
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 14 of its 47 references that are in the map. First posted on arXiv 16 Mar 2023.
Builds on
14 of 47 references.
References · 14
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Mask R-CNNcited by 7,259
- 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 675
- 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 660
- 2018All Models are Wrong, but Many are Useful: Learning a Variable's Importance by Studying an Entire Class of Prediction Models Simultaneouslycited by 364
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2015ranger: A Fast Implementation of Random Forests for High Dimensional Data in C++ and Rcited by 171
2 more
- 2022Machine Learning and Deep Learning -- A review for Ecologistscited by 11
- 2022Marginal Effects for Non-Linear Prediction Functionscited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.