BGU-CS-VIL / pdc-dp-means

"Revisiting DP-Means: Fast Scalable Algorithms via Parallelism and Delayed Cluster Creation" [Dinari and Freifeld, UAI 2022]
BSD 3-Clause "New" or "Revised" License
16 stars 5 forks source link

Installation error #7

Open yazhinia opened 1 month ago

yazhinia commented 1 month ago

Hi, I couldn't install due to following error.

pip install pdc-dp-means ERROR: Could not find a version that satisfies the requirement pdc-dp-means (from versions: none) ERROR: No matching distribution found for pdc-dp-means

Any input is much appreciated.

dinarior commented 1 month ago

Hi,

Which Python version, and which OS are you using?

yazhinia commented 1 month ago

Python version: 3.12.3 OS: Ubuntu 24.04 LTS

dinarior commented 1 month ago

There are no pre-compiled binaries for python 3.12, please check if 3.11 works for you.

I will try to add them, but it might take some time before I get to it.

yazhinia commented 1 month ago

Yes, with lower version it works. Thank you for prompt reply. I would like to apply this method for millions of data points with thousands of clusters. Could you give insights on the feasibility?

Thank you.

dinarior commented 1 month ago

Hi, Yes it should work, You should use the MiniBatch version however, as the vanilla version takes time for initializing alot of clusters (you can also use the Vanilla version with DACE, see the paper, and theres a pure python example in the "paper code" directory).

The MiniBatch however should do the trick.

Also, I have uploaded wheels for python 3.12, so should be fine now.