forked from Lightning-AI/torchmetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New metrics: Homogeneity, Completness, V-Measure (Lightning-AI#2053)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c47bc69
commit 6c670ac
Showing
10 changed files
with
626 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. customcarditem:: | ||
:header: Completeness Score | ||
:image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/default.svg | ||
:tags: Clustering | ||
|
||
.. include:: ../links.rst | ||
|
||
################## | ||
Completeness Score | ||
################## | ||
|
||
Module Interface | ||
________________ | ||
|
||
.. autoclass:: torchmetrics.clustering.CompletenessScore | ||
:exclude-members: update, compute | ||
|
||
Functional Interface | ||
____________________ | ||
|
||
.. autofunction:: torchmetrics.functional.clustering.completeness_score |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. customcarditem:: | ||
:header: Homogeneity Score | ||
:image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/default.svg | ||
:tags: Clustering | ||
|
||
.. include:: ../links.rst | ||
|
||
################# | ||
Homogeneity Score | ||
################# | ||
|
||
Module Interface | ||
________________ | ||
|
||
.. autoclass:: torchmetrics.clustering.HomogeneityScore | ||
:exclude-members: update, compute | ||
|
||
Functional Interface | ||
____________________ | ||
|
||
.. autofunction:: torchmetrics.functional.clustering.homogeneity_score |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. customcarditem:: | ||
:header: V-Measure Score | ||
:image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/default.svg | ||
:tags: Clustering | ||
|
||
.. include:: ../links.rst | ||
|
||
############### | ||
V-Measure Score | ||
############### | ||
|
||
Module Interface | ||
________________ | ||
|
||
.. autoclass:: torchmetrics.clustering.VMeasureScore | ||
:exclude-members: update, compute | ||
|
||
Functional Interface | ||
____________________ | ||
|
||
.. autofunction:: torchmetrics.functional.clustering.v_measure_score |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.