ISSUE: Spatial GBM predictions outside the study area?

I have built several spatial models for a binary outcome,
I got a very strange prediction for the GBM (package gbm) as it seems that there are predictions outside the study area. I initially thought that these were NAs but I checked it and there are no NAs.

This is my code

formula_GBM <- as.formula(paste("presence ~", paste(preds_selected, collapse = "+")))
mod_GBM <- gbm(formula_GBM, data = dataset, distribution="bernoulli") 
GBM_P <- predict(preds_cut, mod_GBM, type = "response")

when I plot the predictions along with the other models I can see that something is wrong
enter image description here

Does anyone have any hints for this behaviour?


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.