Skip to content

New metric: Cluster Accuracy#2777

Merged
SkafteNicki merged 77 commits into
masterfrom
newmetric/cluster_accuracy
Feb 28, 2025
Merged

New metric: Cluster Accuracy#2777
SkafteNicki merged 77 commits into
masterfrom
newmetric/cluster_accuracy

Conversation

@SkafteNicki

@SkafteNicki SkafteNicki commented Oct 12, 2024

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes #2767

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃


📚 Documentation preview 📚: https://torchmetrics--2777.org.readthedocs.build/en/2777/

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 12, 2024
@Borda

Borda commented Jan 8, 2025

Copy link
Copy Markdown
Collaborator

it is strange as it tries to install PT 2.6?

#8 24.19 Collecting torch_linear_assignment<0.0.3,>=0.0.2 (from -r /requirements/clustering.txt (line 4))
#8 24.20   Downloading torch_linear_assignment-0.0.2.tar.gz (12 kB)
#8 24.20   Installing build dependencies: started
#8 25.15   Installing build dependencies: finished with status 'error'
#8 25.15   error: subprocess-exited-with-error
#8 25.15   
#8 25.15   × pip subprocess to install build dependencies did not run successfully.
#8 25.15   │ exit code: 1
#8 25.15   ╰─> [6 lines of output]
#8 25.15       Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121/, https://download.pytorch.org/whl/test/cu121
#8 25.15       Collecting setuptools
#8 25.15         Using cached setuptools-75.7.0-py3-none-any.whl.metadata (6.7 kB)
#8 25.15       Collecting torch>=1.12.0
#8 25.15         ERROR: HTTP error 403 while getting https://download.pytorch.org/whl/test/torch-2.6.0-cp311-cp311-manylinux1_x86_64.whl (from https://download.pytorch.org/whl/test/cu121/torch/)
#8 25.15       ERROR: Could not install requirement torch>=1.12.0 from https://download.pytorch.org/whl/test/torch-2.6.0-cp311-cp311-manylinux1_x86_64.whl because of HTTP error 403 Client Error: Forbidden for url: https://download.pytorch.org/whl/test/torch-2.6.0-cp311-cp311-manylinux1_x86_64.whl for URL https://download.pytorch.org/whl/test/torch-2.6.0-cp311-cp311-manylinux1_x86_64.whl (from https://download.pytorch.org/whl/test/cu121/torch/)
#8 25.15       [end of output]
#8 25.15   
#8 25.15   note: This error originates from a subprocess, and is likely not a problem with pip.
#8 25.38 error: subprocess-exited-with-error

@Borda

Borda commented Jan 8, 2025

Copy link
Copy Markdown
Collaborator

the used package for testing has pending sklearn bump in aeon-toolkit/aeon#2482

Comment thread src/torchmetrics/clustering/adjusted_mutual_info_score.py
@mergify mergify Bot removed the has conflicts label Feb 25, 2025
@mergify mergify Bot added the ready label Feb 27, 2025
@SkafteNicki
SkafteNicki merged commit 5f675f4 into master Feb 28, 2025
@SkafteNicki
SkafteNicki deleted the newmetric/cluster_accuracy branch February 28, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation New metric ready topic: Cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement clustering accuracy

4 participants