-
Notifications
You must be signed in to change notification settings - Fork 2
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
Invalid output when using 'add_biodiversity_poipo' #122
Comments
Hi, in response to your title could you please describe what would be a 'valid' output for your case (expectation-wise)?
|
Hi @Martin-Jung, thank you for your response. |
The only thing I can think of otherwise is to try and adjust the number of points per grid unit (for example by switching
Medium to long-term we might also want to implement some options to alter the offset (e.g. area unit scale) specifically for PPMs. This can also have an impact on the response scale. |
Thank you Martin, currently I have already thin the observations before running models, and the variables were filtered to remove the collinear ones. Moreover, I found the issue #102 which seems similar to my case, and I tried the steps you proposed here, by removing the most important variable (according to the coefficients), and re-running the model, but nothing changed. I tried also with:
as in #48, but the results keep being similar. I didn't try the option 'scale' to transform the covariates, but only the option 'norm', I could try scaling them and check the differences. Finally, I am getting another strange output map when using 'add_predictor_range', which I attached below.
I don't want to annoy you, I just want to make the most of the package's potential. Have you encountered output like this before? Thank you for your patience! |
What is strange about it? SDM Predictions are fundamentally a function of input data and covariates. In your case it could be that all your occurrences fall within the atlas range, or that the maximum distance is too short (with highly non-linear engines like boosted regression trees - XGBoost, you will probably get a non-linear distance decline anyway from the range edge, so could set this to the default
Sure, but please keep it to actual bugs that are for example unexpected error messages or outputs. Have I encountered this before, sure. Then I simply tried something else. There is no such thing as a 'correct' SDM, only best practices and a range of ways and choices and assumptions of how models can be set up, each of why have consequences on the outputs. |
Also, which version of |
Hi @mhesselbarth, I am using the version 0.1.2. So far I have mainly used |
Maybe try updating to the newest dev version using |
Hi,
After making some tries with classic presence/pseudo-absences datasets, I am trying to fit some models using a presence-only dataset. However, when using this option I get always strange outputs from the
train
function, which I attached below:This is my code:
I get this issue also when trying to use
add_biodiversity_polpo
, selecting some random points inside the polygons.I controlled the tutorials and the examples provided to check if there were some errors in my code, but I didn't solve this problem.
Thank you in advance!
Davide
The text was updated successfully, but these errors were encountered: