biomodhub / biomod2

BIOMOD is a computer platform for ensemble forecasting of species distributions, enabling the treatment of a range of methodological uncertainties in models and the examination of species-environment relationships.
85 stars 22 forks source link

MaxEnt in Biomod2 - Model runs (NbRunEval) #366

Closed luispedrosantiago closed 7 months ago

luispedrosantiago commented 10 months ago

Hi all,

I have one question about Biomod2 MaxEnt replicates (NbRunEval argument of BIOMOD_Modeling()). Do they involve different train/test splits or are these models with different covariates?

I ran some SDMs and a reviewer commented that if I only have different train/test splits I might actually end up with a more biased model.

Thanks in advance!

Luis

MayaGueguen commented 7 months ago

Hello Luis,

Sorry for the late answer... If you still have questions about this topic, I'm not sure I understand your question :eyes: Could you be a bit more explicit ? Also, you are refering to NbRunEval which is an old parameter of the BIOMOD_Modeling function now replaced by CV.nb.rep. Have you updated biomod2 lately ? Version 4.2-4 is available on CRAN and 4.2-5 on github.

Maya

luispedrosantiago commented 7 months ago

Hi Maya,

I realise now I didn't phrase it very well, so let me rephrase my question. (This concerns the older version of biomod2, as the new one was producing loads of errors when I tried to change everything to use the new functions. As I was already in the middle of my PhD and very limited in terms of my timetable, I couldn't go after the reason why those errors and bugs were happening).

Say that I have this piece of code: ensemble_modelscores <- get_evaluations(BIOMOD_EnsembleModeling()). The output I get is a little table with results for TSS and ROC, threshold, sensitivity and specificity: Capture

This regards the test dataset. What should I do to find the same sort of results for the training data?

Thanks!

Luis

MayaGueguen commented 7 months ago

Thank you for rephrasing :pray:

Unfortunately, in the older version, evaluation values for calibration data were not returned... So you won't be able to find them within the files. The only option for you is to calculate them yourself :grimacing:

We improved that in the new versions. Do not hesitate to try and test it some day when you have more time :eyes:

Sorry for the inconvenience.. Maya

luispedrosantiago commented 7 months ago

Thank you Maya!

May I suggest something? I am aware that you have a tutorial concerning this new version of biomod2, but I wonder if you would consider making a video demonstrating the main functionalities of this new version. Just like the one that can be found on youtube (the thing is that that youtube video concerns the old version). I am particularly drawn to videos, as their visualisation allows me to then expand on the use of other functionalities of the packages I use, and I am sure there are more people like me who would benefit from that.

Just a suggestion!

All the best, Luis

Luís Santiago

PhD candidate in Biodiversity Management | Durrell Institute of Conservation and Ecology (DICE) School of Anthropology and Conservation, University of Kent Kent, CT2 7NR

Amazonian Mammal Research Group | National Institute of Amazonian Research Manaus @.***

From: MayaGueguen @.> Sent: Thursday, February 22, 2024 11:59 AM To: biomodhub/biomod2 @.> Cc: Luis Santiago @.>; Author @.> Subject: Re: [biomodhub/biomod2] MaxEnt in Biomod2 - Model runs (NbRunEval) (Issue #366)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Thank you for rephrasing 🙏

Unfortunately, in the older version, evaluation values for calibration data were not returned... So you won't be able to find them within the files. The only option for you is to calculate them yourself 😬

We improved that in the new versions. Do not hesitate to try and test it some day when you have more time 👀

Sorry for the inconvenience.. Maya

— Reply to this email directly, view it on GitHubhttps://github.com/biomodhub/biomod2/issues/366#issuecomment-1959301971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARZEGHNVCSMIF3KLHRFYKELYU4XHJAVCNFSM6AAAAAA7MVPMW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGMYDCOJXGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

MayaGueguen commented 7 months ago

This a very good idea indeed, and it is actually on my to-do list :smiley: Good to know that it will be valuable for some ! I plan to do that in the coming months, before summer. Of course I'll keep you updated :envelope:

luispedrosantiago commented 7 months ago

Thank you so much! :D

Luís Santiago

PhD candidate in Biodiversity Management | Durrell Institute of Conservation and Ecology (DICE) School of Anthropology and Conservation, University of Kent Kent, CT2 7NR

Amazonian Mammal Research Group | National Institute of Amazonian Research Manaus @.***

From: MayaGueguen @.> Sent: Thursday, February 22, 2024 12:33 PM To: biomodhub/biomod2 @.> Cc: Luis Santiago @.>; State change @.> Subject: Re: [biomodhub/biomod2] MaxEnt in Biomod2 - Model runs (NbRunEval) (Issue #366)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.

This a very good idea indeed, and it is actually on my to-do list 😃 Good to know that it will be valuable for some ! I plan to do that in the coming months, before summer. Of course I'll keep you updated ✉️

— Reply to this email directly, view it on GitHubhttps://github.com/biomodhub/biomod2/issues/366#issuecomment-1959364528, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARZEGHJIR45SHPJGM2QBQ7DYU43HPAVCNFSM6AAAAAA7MVPMW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGM3DINJSHA. You are receiving this because you modified the open/close state.Message ID: @.**@.>>