Questions tagged [maxent]

Software library based on the maximum-entropy approach for species habitat modeling

The software takes as input a set of layers or environmental variables (such as elevation, precipitation, etc.), as well as a set of georeferenced occurrence locations, and produces a model of the range of the given species.

See the project homepage for more.

104 questions
2
votes
2 answers

how to train a maxent classifier

[Project stack : Java, Opennlp, Elasticsearch (datastore) , twitter4j to read data from twitter] I intend to use maxent classifier to classify tweets. I understand that the initial step is to train the model. From the documentation I found that we…
Karthick R
  • 599
  • 9
  • 25
2
votes
2 answers

"Consensus" Among Maximum Entropy Classifications

Imagine we have three classes: A, B, and C, and we classify a document 'd' using a standard MaxEnt classifier, and come up with the following probabilities: P(d, A) = 0.50 P(d, B) = 0.25 P(d, C) = 0.25 I feel like that is very different, in a way,…
nobillygreen
  • 1,548
  • 5
  • 19
  • 27
2
votes
2 answers

Format of predictions is invalid in R with ROCR package

I use ROCR package in R. But I got the error "prediction(predictions, label) : Format of predictions is invalid." Please tell me the solution. here is code: install.packages("ROCR", dependencies=TRUE) install.packages("vcd", …
user2193548
  • 31
  • 1
  • 4
2
votes
2 answers

Python Maxent Classifier

I've been using the maxent classifier in python and its failing and I don't understand why. I'm using the movie reviews corpus. (total noob) import nltk.classify.util from nltk.classify import MaxentClassifier from nltk.corpus import…
cjds
  • 8,268
  • 10
  • 49
  • 84
1
vote
1 answer

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 format in QGIS. After that I tried to resample…
1
vote
1 answer

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 less has the same size. Therefore, if my dataset…
Franza
  • 45
  • 6
1
vote
1 answer

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. I am working on a windows 10 Pro (R version…
Anne Enco
  • 55
  • 7
1
vote
2 answers

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 cosine) transformation, following this link. However,…
Ahmed El-Gabbas
  • 398
  • 3
  • 10
1
vote
1 answer

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 seem to find the right information to start. Right…
M. Heynen
  • 11
  • 2
1
vote
0 answers

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 execute my code I get different accuracy results…
Monu
  • 2,092
  • 3
  • 13
  • 26
1
vote
1 answer

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") : cannot open file…
Seira
  • 11
  • 2
1
vote
1 answer

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=FALSE',"randomtestpoints=25"), path=output) evaluate.model…
fire_ecologist
  • 253
  • 3
  • 9
1
vote
0 answers

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 = FALSE) : arguments imply differing number of…
Chris R.
  • 11
  • 1
1
vote
0 answers

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 folder named as fruits_training_data which have 4…
Hammad Hassan
  • 1,192
  • 17
  • 29
1
vote
1 answer

Draw polygon from raster after occurrence modeling

I want to draw polygons for species occurrence using the same methods BIEN uses, so I can use both my polygons and theirs. They use Maxent to model species occurrence when they have more then occurrence points. So, this is, for example, a BIEN…
Thai
  • 493
  • 5
  • 15