-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serious differences in biomod2 versions seen in model results #216
Comments
Hi @suicmezburak, First note that a lot has changed for the package since version 3.5.1 and in general we would trust better the current version. If I summarize your issue (please correct me if I misunderstood something):
With such an overview, we have thought to no obvious solution.
With that in mind, could you:
Thanks in advance, |
Hi @rpatin
Occurence data used for modeling was same number for two versions, which is 1606. When modeling with version 3.5.1, I used the raster package to crop environmental variables, and in version 4.2.2 I used the terra package(version 1.7-3). Codes used modeling for version 3.5.1
Codes used modeling for version 4.2.2
Unfortunately, I can't send my data(it's for research paper), but to test whether the problem is caused by the data, I tried a ENM scifientific paper that shared its data as open source. I faced the same issues with this species as well, ie version 3.5.1 gave similar results for all pseudo absene data and cross-validation repeats for GAM and RF(10PA + 10CV = 100 Models), whereas version 4.2.2 had the same issue I observed above. If appropriate, I can share the data and environmental variables that I use of this species. Thank you for your time. |
Hi @suicmezburak, |
Hi @suicmezburak,
Now that it is corrected, values obtained by The good thing is that our work on the next Next version fixing those different bugs should be out in the upcoming weeks. Thanks again for helping us find the errors, it is really appreciated to have such support 🙏 Best, |
Hi @rpatin , Best wishes, |
I created models using GAM and RF algorithms on biomod2 (version 3.5.1) in the form of 10 replicates using 1606 occurence data, 10 replicates of the same number of pseudo absence data, and 7 environmental variables. I used the settings recommended by biomod when creating the model. When I create a model using the same data with one repetition, the model performance values are as follows.
(I did not give the values of all repetitions because it would be too long, but I obtained similar model performance values for all repetitions.)
When I create models using the same data and the same settings and GAM and RF algorithms this time using biomod2 (version 4.2.2), the model performance values are as follows.
As you can see, there are very serious differences in the new version. There are very low ROC AND TSS values for GAM, and very high ROC values and specifity in the RF algorithm, perhaps indicating an overfit. What is the reason for this difference? I could not identify the reason why there is such a drastic difference even though ı used same data and the same variables.
Thanks in advance.
The text was updated successfully, but these errors were encountered: