squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Co-occurrence gives 'nan' if n_splits>1 in large dataset

Open Mena-SA-Kamel opened this issue 1 year ago • 1 comments

I am re-opening this issue because I am still having problems running squidpy.gr.co_occurrence() with n_splits>1. I noticed that this has been previously discussed here and was closed without resolution. When I run on a dataset with 101510 observations while setting n_splits=1, I get an OOM error. If I don't specify an n_splits value, it sets it to 50 and I end up with all NaNs in my occurrence array. Is there a work around that you may suggest?

Mena-SA-Kamel avatar May 10 '23 17:05 Mena-SA-Kamel