Skip to content
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

kuenm_cal_swd() does produce values for pval_pROC, AICc, delta_AICc and W_AICc #29

Open
jmburgos opened this issue Jul 28, 2021 · 5 comments

Comments

@jmburgos
Copy link

jmburgos commented Jul 28, 2021

Hi Marlon,

I am having trouble with a model that was previously working. This time, kuenm_cal_swd() does not produce values for pval_pROC, AICc, delta_AICc and W_AICc. After creating my datasets withprepare_swd() I calibrate my models like this:

kuenm_cal_swd(occ.joint = "Boars_SWD_joint.csv",
              occ.tra = "Boars_SWD_train.csv",
              occ.test = "Boars_SWD_test.csv",
              back.dir = "M_variables",
              batch = "Candidate_models",
              out.dir.models = "Candidate_models",
              reg.mult = c(0.1, 0.25, 0.5, 0.75, 1, 2.5, 5),
              f.clas = "basic",
              max.memory = 1000,
              maxent.path = ".",
              selection = "OR_AICc",
              threshold = 5,
              rand.percent = 50,
              out.dir.eval = "Candidate_models_eval",
              kept = TRUE)

After running the models, I get the following:

A total of 35 candidate models will be created

Starting evaluation process
Evaluation using partial ROC, omission rates, and AICc
  |======================================================================| 100%None of the significant candidate models met the omission rate criterion,
models with the lowest omission rate and lowest AICc will be presented

Writing calibration results
Error in plot.window(...) : need finite 'xlim' values
In addition: There were 43 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In aicc(oc, mod, par_num) :
  AICc not valid: too many parameters, or likelihood = Inf... returning NA.
2: `mutate_()` was deprecated in dplyr 0.7.0.
Please use `mutate()` instead.
See vignette('programming') for more help
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
3: In aicc(oc, mod, par_num) :
  AICc not valid: too many parameters, or likelihood = Inf... returning NA.
4: In aicc(oc, mod, par_num) :
  AICc not valid: too many parameters, or likelihood = Inf... returning NA.
5: In aicc(oc, mod, par_num) :......

Do you have an idea of what could be the problem? I cannot figure it out.
Many thanks,

Julian

@dannyvelezv
Copy link

Hi Julian,

I'm having a similar issue, did you find a solution?

Thanks!

@lyyjat
Copy link

lyyjat commented May 12, 2022

Igual con las nuevas SSP me esta ocurriendo el mismo error a que se debe?????

@lyyjat
Copy link

lyyjat commented May 12, 2022

olvide comentar que solo me funciona utilizando PCA, si utilizo variables crudas, sale el error que menciona jmburgos???

@AllexanderN
Copy link

Hello, Julian. Have you solved your problem. I have exactly the same.

@lyyjat
Copy link

lyyjat commented Sep 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants