GeoDaCenter / pygeoda

pygeoda is a python library for spatial data analysis based on C++ libgeoda
GNU General Public License v3.0
34 stars 4 forks source link

Running schc and skater makes the kernel die #22

Open shoyip opened 2 years ago

shoyip commented 2 years ago

I'm using PyGeoDa on Jupyter Notebooks, and so far I have not been able to use the schc and skater modules on it because the kernel just dies during the execution. I have also tried to set n_cpu to one, but this didn't seem to change the result.

I have also tried to run the code in the notebook as a Python script, and it just exists the program without giving any error or warning, and also not running what comes after the piece of code that calls the schc and skater functions.

My dataset has 2643 observations and 14 fields, and the geometry types are points. Can you help me with this? Thanks in advance and looking forward to hearing from you.

shoyip commented 2 years ago

I have run the code on a node with more memory and it runs, but it gives me another error. I'm addressing this error in another issue.

Paulhurst20000 commented 1 year ago

Same for me, I think it could be related to the max number of observations. When using distance weighting with 20 observations (points), skater and hca clustering will run; however at 100 point observation the kernel dies or within VSCode the program simply exits with no error message. Does anyone know if there is a max # of observations?