This repository contains the code used in Pichler, Maximilian, et al. "Machine learning algorithms to infer trait‐matching and predict species interactions in ecological networks." Methods in Ecology and Evolution 11.2 (2020): 281-293.
The definite snapshot of the code used in the paper was stored in
The repo contains two subfolders:
-
The code to reproduce Results and Supporting Information
-
An R package, which implements the core methods used in the paper.
Note: the code (and in particular the R package) uses a previous version of the MLR package. If you are working with the latest version of MLR (3 or later), it will not run. You can either downgrade to the old version, or, if you are just interested in applying these methods to your own data, use this new implementation of our methods, which is compatible with MLR 3 https://github.com/MaximilianPi/TraitMatching