Avoid extrapolation

273 views
Skip to first unread message

FernandoBiganzoli

unread,
May 26, 2021, 11:34:01 AM5/26/21
to Maxent
Hi all
is there a way to avoid extrapolation during model projection in R?
I'm using the function maxnet.predictRaster from the ENMeval package
Thanks in advance
Fernando

Bede-Fazekas Ákos

unread,
May 26, 2021, 11:49:33 AM5/26/21
to max...@googlegroups.com
Hi Fernando,
do you mean spatial extrapolation or environmental extrapolation? Spatial extrapolation is not a problem, but if you want, you can easily mask/crop your prediction raster to show only the region that you used for model training. Environmental extrapolation is a much more interesting and relevant issue. Maybe there are more established methods to remove environmental extrapolation, but my simple idea is the following:
1) save the min and max values of all your predictors within the training dataset (i.e., presence points + background points)
2) train and evaluate the model, and make prediction in the same way as previously
3) mask your prediction, i.e. set those cells to NA that are outside the learnt environmental hypercube. So delete all the cells that are lower than the saved minimum or higher than the saved maximum for any of the predictors.
HTH,
Ákos Bede-Fazekas
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maxent/888b07ae-02d8-4463-803d-e6e04376b5c7n%40googlegroups.com.

Belay Ejigu

unread,
Jun 4, 2021, 3:29:27 AM6/4/21
to max...@googlegroups.com
Dear all,

I need your help to fill my knowledge gap on maxent.

Please how I can know how the maxent model calculates the probability of similarity of current and future environmental conditions at a given point of space, then determine the probability of area suitability for the existence of the concerned species?.
I am running GUI mode Maxent model version 3.4.4. Another, is the logistic regression model is the main component of maxent model?. How it correlate species occurrence and environmental variables?. Is is use pearson correlation coefficient values to determine the probability to be similar?

Thanks a lot in advance!

Bede-Fazekas Ákos

unread,
Jun 11, 2021, 3:29:32 PM6/11/21
to max...@googlegroups.com
Hello,

Please read this paper:
https://onlinelibrary.wiley.com/doi/full/10.1111/j.1472-4642.2010.00725.x

I hope it will answer your questions,
Ákos

Belay Ejigu

unread,
Jun 11, 2021, 3:33:37 PM6/11/21
to max...@googlegroups.com
ok. thanks a lot. i will check it out.be blessed ever

Jamie M. Kass

unread,
Jun 15, 2021, 7:08:01 AM6/15/21
to Maxent
For those interested in avoiding extrapolation, just turn on clamping in the Maxent GUI or set doClamp = TRUE when running ENMeval 2.0.0. When making predictions with a model, clamping sets all environmental variable values that are outside the range of your training data to the max or min of the training data. Additionally, in ENMeval, you can control which parts of the environmental variable distribution to clamp (left or right or both).

Jamie
Reply all
Reply to author
Forward
0 new messages