umap icon indicating copy to clipboard operation
umap copied to clipboard

UMAP.fit_transform(data) keep giving error "Buffer has wrong number of dimensions (expected 1, got 2)"

Open akhilksingh opened this issue 3 years ago • 8 comments

I am trying to fit_transform data which was working earlier but installed the version again 0.3.10 and now I see every time this error, not sure why?

akhilksingh avatar Sep 26 '20 06:09 akhilksingh

For me the only fix to this problem is to reduce the dataset-size.

ciri avatar Sep 29 '20 22:09 ciri

same issue

ahare-1535 avatar Oct 27 '20 08:10 ahare-1535

Same issue as well, it used to work but now it doesn't.

sbeik avatar Nov 10 '20 05:11 sbeik

Same. This started after I updated from scipy 1.1 to 1.5.4.

joshdempster avatar Nov 20 '20 14:11 joshdempster

I had this error too, resolved after updating umap-learn, as suggested in https://github.com/lmcinnes/umap/issues/461#issuecomment-652500422

ksenia007 avatar Dec 03 '20 18:12 ksenia007

I had the same issue, thanks to @ksenia007 resolved after updating.

shamsvahid2 avatar Apr 10 '21 08:04 shamsvahid2

downgrading the scipy version solved my problem pip install scipy==1.2.3 pip install umap-learn==0.3.9

JarningGau avatar Oct 05 '21 16:10 JarningGau

ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

While running UMAP for million records I am facing the above error

SharanyaMohan-30 avatar Apr 18 '22 20:04 SharanyaMohan-30