Skip to content

49 some binarized predictions are calculated using mtp threshold at level of country of interest instead of europe#50

Open
soriadelva wants to merge 20 commits intomasterfrom
49-some-binarized-predictions-are-calculated-using-mtp-threshold-at-level-of-country-of-interest-instead-of-europe
Open

49 some binarized predictions are calculated using mtp threshold at level of country of interest instead of europe#50
soriadelva wants to merge 20 commits intomasterfrom
49-some-binarized-predictions-are-calculated-using-mtp-threshold-at-level-of-country-of-interest-instead-of-europe

Conversation

@soriadelva
Copy link
Collaborator

This pull request addresses two main issues:

  • It fixes the calculation of the MTP threshold for creating binarized (presence/absence predictions) when focussing on a specific country of interest. In this case, the MTP was calculated on the observations in that country but this should have been on global occurrences for the climate model and on European occurrences for the habitat model
  • It fixes memory issues related to the PCA step for both models, by now calculating a PCA on 100000 randomly sampled pixels. Preliminary analyses on a single species showed that this number seems to be sufficient to provide stable results. More extensive analyses in the future need to further defend this choice.

… on a country

They are needed for the MTP calculation of the final combined model in the habitat script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Some binarized predictions are calculated using MTP threshold at level of country of interest instead of Europe

1 participant