Hi, everybody!
My name is Mădălina and I want to make a prediction on the presence of the species Haliaeetus albicilla. I used Presence-only prediction (MaxENT) in the analysis, but it doesn't run because I get the error attached. How can I solve the problem?
Thanks!
Traceback (most recent call last):
File "<string>", line 16100, in execute
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\SSPresenceOnlyPrediction.py", line 2391, in __init__
self.__initialize()
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\SSPresenceOnlyPrediction.py", line 2478, in __initialize
self.mm = ModelMatrix(self.popdo, self.basisTypes, numKnots = self.numKnots,
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\SSPresenceOnlyPrediction.py", line 1848, in __init__
self.buildHinge()
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\SSPresenceOnlyPrediction.py", line 2037, in buildHinge
basisData, knotValues, minX, maxX = STATS.hingeInfo(data, nKnots = self.numKnots)
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\Stats.py", line 1245, in hingeInfo
tr[:,:nKnots-1] = NUM.array([hingeValue(X, knot, maxX) for knot in knots[:-1]]).T
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\Stats.py", line 1245, in <listcomp>
tr[:,:nKnots-1] = NUM.array([hingeValue(X, knot, maxX) for knot in knots[:-1]]).T
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\Stats.py", line 1198, in hingeValue
return NUM.clip((val-low)/(high-low), a_min = 0, a_max = 1)
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 284. MiB for an array with shape (37224316,) and data type float64
Solved! Go to Solution.
Presence-only Prediction (MaxEnt) (Spatial Statistics)—ArcGIS Pro | Documentation
How Presence-only Prediction (MaxEnt) works—ArcGIS Pro | Documentation
The error (last line) says that you have too much data for the amount of memory that you have
Try a much smaller subset of your inputs to see if you can get it to work
Presence-only Prediction (MaxEnt) (Spatial Statistics)—ArcGIS Pro | Documentation
How Presence-only Prediction (MaxEnt) works—ArcGIS Pro | Documentation
The error (last line) says that you have too much data for the amount of memory that you have
Try a much smaller subset of your inputs to see if you can get it to work