107 questions
1
vote
1
answer
132
views
Error Downloading Chelsa Climate Data with pastclim
I attempted to download the current chelsa 2.1 climate variables using pastclim. However, I keep getting the error:
Error: buildvrt: options error.
terra, gdal, and pastclim are up-to-date. Is this ...
1
vote
1
answer
93
views
Setting maxent parameters manually within TidySDM Package in R
Within the TidySDM package, you can define what models you wish to include in your ensemble with the "workflow_set" function. When including a maxent model you can use the argument "...
0
votes
1
answer
49
views
Maxent Variable Selection R Package
I'm currently using the Maxent Variable Selection package in R, but I'm encountering an error:
Error in file(file, "rt"): cannot open the connection
Additionally: Warning message:
In file(...
1
vote
0
answers
94
views
Maxent Species Distribution Modelling in R: Error in data.frame(..., check.names = FALSE)
I have two dataframes with 15,695 rows, and they have no NAs:
dat_Winter: contains environmental variables
dolphin_coords_xy: contains longitude and latitude positions in decimal degrees
I am trying ...
1
vote
1
answer
806
views
JVMJ9VM015W Initialization error for library j9gc29(2): Failed to instantiate compressed references metadata. 200M requested
I'm following a tutorial on GitHub by John Baums to create a presence only species distribution model using the MAXENT method.
Every line of code is working until I need to run the object me, which is ...
0
votes
0
answers
31
views
How to download the rmaxent package from Github in R [duplicate]
Issue
I want to produce a presence only species distribution model using the Maxent technique. I have found an online tutorial that exactly fits the type of analysis that I want to embark on.
I am ...
0
votes
1
answer
95
views
x@presence error for Species Distribution modeling [closed]
Does anybody know how to solve this problem?
I'm trying to build a species Distribution model using bioclimatic variables
sdm package by Naimi, 2016
R version 4.4.1
ERROR:
model <- sdm(Species ~ ., ...
1
vote
0
answers
41
views
How to use specific test occurrence records in dismo::maxent()
For the sake of reproducible results I have already randomly split my occurrence records into training and testing, and would like to input these records into dismo::maxent. I have attempted to do ...
0
votes
1
answer
42
views
raster::sampleRamdom function take points where there are no values (generate NAs)
I'm trying to sample random points to use as background in a species distribution model. I'm using 30 second predictors from worldclim and soilgrids. The majority of the sampled random points are on ...
1
vote
0
answers
115
views
A learner for MaxEnt models using the mlr3 package
I am creating a learner for Maximum Entropy (MaxEnt) models using the mlr3 package. I use the maxnet function (from the maxnet package) to fit MaxEnt models. Here is a link to the function: maxnet.
I ...
0
votes
1
answer
203
views
MaxentVariableSelection error reading files, error in file (file, 'rt') cannot open connection [closed]
I'm attempting to use the MaxentVariableSelection package to select the best set of environmental variables for a Maxent species distribution model.
I keep getting these two errors:
Error: Error ...
0
votes
0
answers
49
views
R only lets me run part of a code. I get the warning "error in x : unused argument y"
I a trying to set up MaxEnt so I am following a tuturiol on YT titled "how to decide which setting to use when running MaxEnt, as well as how to make a bias file"
I enter my occurrence ...
0
votes
1
answer
548
views
Error in file when running Maxent in biomod2
When I run Maxent in biomod2, I meet the error, although I have tried many solutions which people have solved their similar problem, but they didn't work with my code. I have tried to change the file ...
0
votes
1
answer
584
views
Support with R error code: Error in if (getOption("scipen") <= min(digits)) { : missing value where TRUE/FALSE needed
Hi I am trying to run ENMeval on occurrence data and some rasters to determine settings for MaxEnt modelling. Whenever I try to run some of my code containing the raster layers, ie:
#resample layer
...
0
votes
1
answer
357
views
dismo MaxEnt does not run with categorical variables
I am trying to build a MaxEnt model in dismo, using a data frame. I already have presence-absence data and extracting the covariates for each point, so the only data I need is this one data frame. I ...
0
votes
0
answers
190
views
How do I import the MaxEnt (Java) outputs from my models into R for AIC calculation?
I ran a few models in the Java MaxEnt program showing the species distribution model of an invasive species, and I want to import the outputs that it gave me (I have a folder of them, some asc files, ...
0
votes
1
answer
916
views
trying to get jackknife for my maxent sdm model in R
i was doing SDM using MaxEnt in R but i couldnt run jackknife test
# add uae shapefile`
uae = readOGR(dsn ="C:/Users/Predator/Downloads", layer="Boundaries_UAE_0_GAUL")
pj = gbif(&...
0
votes
0
answers
321
views
How to fix an argument error with the "BIOMOD_ModelingOptions()" function in R
I have been using R code to predict the future distribution of small mammal species based on records of their occurrence in the Atlantic Forest and predictions of environmental variables. I used this ...
0
votes
0
answers
232
views
How to calculate AIC from a maxnet model in R
I would like to perform an AIC on a maxnet model.
I run a model using maxnet package in R and I want to perform an AIC on this model.
I tried to use the SDMtune package in R but the class of the ...
1
vote
1
answer
522
views
Issue with making environmental raster layers identical for Maxent
I have nine raster layers (.tif) and each needs to have the same extent, resolution and CRS in order to work in Maxent.
I have tried converting each layer to the same CRS and translating them to .asc ...
1
vote
1
answer
151
views
java.awt.HeadlessException error running maxent in "dismo" through rJava
I am trying to run the maxent function in the dismo package on macOS through rJava and keep getting this error message.
Error in rJava::.jcall(mxe, "S", "fit", c("autorun"...
0
votes
1
answer
151
views
Cumulative output format resulting in NAs when using dismo::predict function in R
I have run a maxent model using the dismo package in R. I am able to use the predict function to view the output format as "raw" or "cloglog" but when I try the "cumulative&...
0
votes
2
answers
498
views
Sdm maxent enmeval 'unused argument (kfolds = 10)'
I am currently trying to make a biosfile prior to running maxent but keep getting faced with this error: I wonder if anyone has faced this issue before and fixed it please?
bg <- xyFromCell(dens....
0
votes
0
answers
179
views
Why do I get "ERROR: Invalid algorithm specified"?
So I was trying to classify my data using Maximum Entropy method, with the code below:
container<-create_container(mat, sentiment_all, trainSize=1:823, testSize=824:1030, virgin=FALSE)
models<-...
0
votes
0
answers
189
views
R: MaxEnt species distribution modeling with lapply -> args implicate different number of rows
)
I want to apply dismo::maxent to a list of multiple datasets with lapply. But I get the error message that the arguments have a different number of rows, which is very strange because I created one ...
0
votes
1
answer
283
views
MaxentVariableSelectoin error in rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", :
I'm using the MaxEntVariableSelection package and repeatedly getting the following error when trying to execute VariableSelection even after setting all the things as explained in ...
0
votes
0
answers
181
views
MaxentVariableSelection Error in read.table(file = file, header = header, sep = sep, quote = quote, : no lines available in input
I'm trying to run VariableSelection function in MaxentVariableSelection but stuck with the error saying
Error in read.table(file = file, header = header, sep = sep, quote = quote, :
no lines ...
0
votes
1
answer
421
views
Cannot open the connexion in Maxent model generation
The output of my code gives this error message and I am not able to fix it. The code itself is long, so I just give you the part that I believe not working, but please ask if you need to see some more....
1
vote
1
answer
746
views
K-fold cross validation with more folds in Maxent
Hi I'm using the Maxent software 3.4.0 for Mac and I'm trying to understand an issue about k-fold Cross-validation.
Basically, I understood that my dataset is splitted in k folds and each fold more or ...
0
votes
1
answer
943
views
raster::stack returns NA values in raster despite know values
I am creating ASCII files to include in a MaxEnt model in R.
When I create the layers and look at the raster values I can see them and they are correct, e.g.:
> r_test3
class : RasterLayer
...
0
votes
1
answer
310
views
OpenNLP doccat trainer always results in "1 outcome patterns"
I am evaluating OpenNLP for use as a document categorizer. I have a sanitized training corpus with roughly 4k files, in about 150 categories. The documents have many shared, mostly irrelevant words - ...
0
votes
1
answer
679
views
Maxent Species Distribution Modelling in R - finding probabilities associated individual cells/points?
Good afternoon,
I have recently developed a Maxent species distribution model in R for a reptile endemic to Madagascar, using native-range presence-only data. The model performs well (as judged by AUC)...
4
votes
2
answers
1k
views
How can I separate many files from one folder into separate folders based on the name of the files?
The current file organization looks like this:
Species_name1.asc
Species_name1.csv
Species_name1_Averages.csv
...
...
Species_name2.asc
Species_name2.csv
Species_name2_Averages.csv
I need to ...
1
vote
1
answer
387
views
Index error when running maxnet function (maxnet package)
I use the maxnet function (maxnet package) as one of the model algorithms in an ensemble model. Sometimes, the code executes without an error. Other times, it gives me the error message you see below. ...
1
vote
1
answer
317
views
Calculate overlap of protected area polygons with predicted maxent habitat suitability
I want to calculate the percentage area of habitat suitability of a species that overlaps with protected area polygons. I do not know the R language very well, but here is what I have so far.
These ...
1
vote
2
answers
2k
views
Cyclic transformation of dates
I would like to use the day of the year in a machine learning model. As the day of the year is not continuous (day 365 of 2019 is followed by day 1 in 2020), I think of performing cyclic (sine or ...
0
votes
1
answer
273
views
Project MaxENT fitted model into geographic space
Similar question was answered here; however, this problem is a bit different for which I cannot apply that solution. I have fitted maxent using site-with-data format. The problem is I cannot project ...
1
vote
1
answer
394
views
Rerun maxent using python
I'm trying to create a script that reruns maxent for different inputs. I have around 1500 species that need to be processed separately. My idea is to use a python loop for this program. But I can't ...
0
votes
0
answers
237
views
Is there any code to add standard error lines in ROC for maxent using R?
I am using maxent in R to predict the distribution of a certain specie with two climate change scenarios. I am using a simple code to know the ROC/AUC but i want a code that would plot standard ...
0
votes
0
answers
229
views
Mallet: "Error occurred during initialization of VM. Could not reserve enough space for 3145728KB object heap?
java.lang.OutOfMemoryError: Java heap space is resolved by increasing the Xmx3G, but now I am getting "Error occurred during initialization of VM. Could not reserve enough space for object heap.
What ...
0
votes
0
answers
870
views
R programming error for prediction and error is predict.svm: test data does not match model
I tested a new data that is provided from uI, so i used new.csv file which has same column name as trained model.
What is the problem with this?
i get error in this line classify_models(container2,...
0
votes
1
answer
101
views
What's wrong with my code to get weight of MAXEnt
I have 8 features for maxent classifier and want to know each weight, because I need information of how important each features is.
for i in range(len(list)):
features = {}
features['...
0
votes
1
answer
640
views
What is the output format of a Maxent model run in Biomod2 (raw, cumulative, logistic or cloglog) and can it be specified by the user?
I'm building a species distribution model/habitat suitability model using the package biomod2.
Maxent allows the user to choose one of four output formats (see title) when the Java application is ...
1
vote
0
answers
314
views
reproducible result for Maximum entropy (maxent) classifier
I am trying to update the baseline code of nltk.classify.rte_classify to add more features in order to improve the accuracy of the model. It uses MaxentClassifier. My problem is that every time I ...
2
votes
1
answer
257
views
What features Apache OpenNLP does use by default while running its named entity recognition (NER) models?
I know Apache OpenNLP uses MaxEnt model for its NER tagger. But what features Apache OpenNLP does use (by default) while running its named entity recognition (NER) models? and also how can we ...
2
votes
2
answers
667
views
File not found error when running Maxent in biomod2
When I run Maxent into biomod2 I got this error:
Error in file(file, "rt") : cannot open the connection
In addition: Warning messages:
1: running command 'java' had status 1
2: In file(file, "rt") :...
2
votes
1
answer
834
views
Using evaluate function for MaxEntReplicates
I am using Maxent function in dismo package to create some species distribution models.
Normally this works:
single_model <- maxent(predictors, presence, args=c('jackknife=TRUE', 'randomseed=...
0
votes
0
answers
803
views
Error Messages in R for MaxEnt model
I am having some trouble running MaxEnt in R. I keep getting two error messages:
1) Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 1, 2, 0
and
2) Warning ...
1
vote
0
answers
140
views
Species Distribution Model in R: Error Messages
I am running MaxEnt in R which is a species distribution model -- I am trying to run a 10 fold x validation on the data but keep getting two error messages:
Error in data.frame(..., check.names = ...
1
vote
0
answers
133
views
Training and Testing alphabets don't match issue, in making MaxEnt using Mallet
I am new to Mallet and using it for making a MaxEnt model. What I want to achieve is I wanted to classify a text in some categories. (Using sample names for categories) I have my training data in a ...