Spaces:
Sleeping
Sleeping
José Ángel González
commited on
Commit
·
7c8640b
1
Parent(s):
72451c7
readme
Browse files- README.md +2 -4
- clustering_evaluator.py +2 -1
- gradio_tst.py +1 -1
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
@@ -8,5 +8,3 @@ sdk_version: 4.42.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
-
|
| 12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Clustering Evaluator
|
| 3 |
+
emoji: ✨
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
|
|
clustering_evaluator.py
CHANGED
|
@@ -30,7 +30,8 @@ _CITATION = """
|
|
| 30 |
_DESCRIPTION = """\
|
| 31 |
This evaluator computes multiple clustering metrics to assess the quality of a clustering.
|
| 32 |
By default, the evaluator works as in an unsupervised setting, evaluating the clustering just from
|
| 33 |
-
the samples and the predictions.
|
|
|
|
| 34 |
"""
|
| 35 |
|
| 36 |
|
|
|
|
| 30 |
_DESCRIPTION = """\
|
| 31 |
This evaluator computes multiple clustering metrics to assess the quality of a clustering.
|
| 32 |
By default, the evaluator works as in an unsupervised setting, evaluating the clustering just from
|
| 33 |
+
the samples and the predictions.
|
| 34 |
+
However, it allows to compute additional metrics when truth labels are passed too, which is not shown in this demo.
|
| 35 |
"""
|
| 36 |
|
| 37 |
|
gradio_tst.py
CHANGED
|
@@ -137,4 +137,4 @@ def launch_gradio_widget2(metric):
|
|
| 137 |
# examples=[parse_test_cases(test_cases, feature_names, gradio_input_types)]
|
| 138 |
)
|
| 139 |
|
| 140 |
-
iface.launch(share=True)
|
|
|
|
| 137 |
# examples=[parse_test_cases(test_cases, feature_names, gradio_input_types)]
|
| 138 |
)
|
| 139 |
|
| 140 |
+
iface.launch(share=True)
|