Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster_validity submodule in python missing #82

Closed
lm-jkominek opened this issue Sep 18, 2023 · 2 comments
Closed

cluster_validity submodule in python missing #82

lm-jkominek opened this issue Sep 18, 2023 · 2 comments

Comments

@lm-jkominek
Copy link

lm-jkominek commented Sep 18, 2023

Hi, I've been using genieclust for some of my work recently, and absolutely love the efficiency of it - 10K rows and 10K columns, clustered in ~20 seconds, works fantastic. I wanted to try assessing the best number of clusters in my data, and the docs mention all the different indices to do that (Calinski-Harabasz, Silhouette etc), but for some reason I cannot run/see their respective functions in my Python install. In fact, it looks like the entire cluster_validity submodule is missing/hidden on my machine.

>>> import genieclust as gc
>>> dir(gc)
['GIc', 'Genie', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'compare_partitions', 'genie', 'inequity', 'internal', 'plots', 'tools']

I use Python 3.11.4, and tried genieclust v1.1.3, v1.1.4 as well as a direct github install of the latest dev version (v1.1.4.9001), with the same result. Any help or at least clarity on why that would be happening? Thanks a lot in advance!

@lm-jkominek lm-jkominek changed the title cluster_validity module in python missing cluster_validity submodule in python missing Sep 18, 2023
@gagolews
Copy link
Owner

Ooops! I missed an import line in __init__.py! This is now corrected in the github version

If you want to stick with the PyPI version (I plan a new PyPI release in 1-2 months), import genieclust.cluster_validity will do, for now.

Thanks for the report!

@lm-jkominek
Copy link
Author

Thanks a lot, appreciate the rapid response! I don't mind using the Github version for now, will just update to v1.1.5 when it's out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants