-
Notifications
You must be signed in to change notification settings - Fork 9
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
Maxent pipeline: some docs, bug fix, defaults and simplified create background function #110
Conversation
…fuzzy matching for the method names
…n . in col names coming from io and do not convert col names when reading data
… in variable names)
…navailable/not working
Merge branch 'sdm' of github.com:GEO-BON/biab-2.0 into sdm # Conflicts: # scripts/SDM/selectBackgroundFunc.R
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone needs to review the R code
Any thoughts about using maxnet instead of |
From my limited experience, maxent.jar seems faster and less buggy than maxnet, but I agree maxnet is more open-source and has fewer dpendencies. I changed the algorithm to maxent.jar, because it scales variables behing the scene, while maxnet does not and I was running into numerical problems resulting from non-scaled variables. We could easily scale variables ourselves, but it can be a bit of a pain when exploring results and I wanted to avoid that. Another option could be to wait for maxnet to scale variables mrmaxent/maxnet#24 (or to submit a pull request to maxnet to allow for scaling in glmnet). |
#' @param obs data.frame, containing the observations. Used with method == "thickening" or "inclusion_buffer" | ||
#' @param width_buffer int, buffer width around observations. Used with method == "inclusion_buffer" | ||
#' @param species string, species name. | ||
#' @param predictors SpatRasterr, containing the predictor variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SpatRaster
Maxent pipeline: some docs, bug fix, defaults and simplified create background function
Described a bit more some arguments and functions, simplified the create background function and added the thickening and inclusion_buffer method which were not working/available, now accepts the - in soilgrids variable names, reduced the resolution for faster runs