wallaceEcoMod / wallace

an interactive, reproducible, expandible, instructional, and open-source GUI-based app for ecological niche modeling
https://wallaceecomod.github.io/
GNU General Public License v3.0
132 stars 46 forks source link

How can I know which of my variables was most important to generate the model? #353

Open Oliveira-D-R opened 3 years ago

Oliveira-D-R commented 3 years ago

I've seen this information available in several niche modeling surveys. However, at Wallace I don't know how to display this information.

gepinillab commented 3 years ago

Hi @Oliveira-D-R,

This option is not available on Wallace. For maxent, Wallace depends on the dismo or the maxnet package. As far as I know, neither of them returns the information of the most important variables (so we cannot incorporate them on Wallace).

Best, Gonzalo

jamiemkass commented 3 years ago

@Oliveira-D-R, actually the Maxent object in dismo does have the information for the "percent contribution" and "permutation importance" values in the @results slot. Be advised that the "percent contribution" changes with every run, while the "permutation importance" is deterministic. See the "Brief Tutorial for Maxent" by Steven Phillips, which explains this.

At the present, we do not include this info in Wallace, but we may in the future. For now, you can download the session code, generate your models in R, then get the variable importance values from the model object.

gepinillab commented 3 years ago

Good point @jamiemkass. I completely forgot about it the dismo option. I will add this option as a someday enhancement.