Skip to content

Commit 7365821

Browse files
authored
Debug 05/05/2025 demo (#20)
* Switch to gh runners * Replace branch to `reduce_install_scope` * threads -> cores * Update collector for current dev version
1 parent 89b3729 commit 7365821

File tree

2 files changed

+29
-28
lines changed

2 files changed

+29
-28
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
shell: bash -l {0}
5050
run: |
5151
mamba install -y pip
52-
pip install git+https://github.com/omnibenchmark/omnibenchmark.git@dev
52+
pip install git+https://github.com/omnibenchmark/omnibenchmark.git@reduce_install_scope
5353
5454
- name: Load benchmark cache
5555
id: cache-benchmark
@@ -62,7 +62,7 @@ jobs:
6262
shell: bash -l {0}
6363
continue-on-error: true
6464
run: |
65-
echo "y" | ob run benchmark -b Clustering.yaml --local --threads 20 --continue-on-error
65+
echo "y" | ob run benchmark -b Clustering.yaml --local --cores 3 --continue-on-error
6666
6767
upload-artifact:
6868
name: Benchmark Artifact

Clustering.yaml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ metric_collectors:
4545
outputs:
4646
- id: plotting.html
4747
path: "{input}/{name}/plotting_report.html"
48+
4849
stages:
4950
## clustbench data ##########################################################
5051

@@ -139,10 +140,10 @@ stages:
139140
parameters:
140141
- values: ["--linkage", "complete"]
141142
- values: ["--linkage", "ward"]
142-
- values: ["--linkage", "average"]
143-
- values: ["--linkage", "weighted"]
144-
- values: ["--linkage", "median"]
145-
- values: ["--linkage", "centroid"]
143+
# - values: ["--linkage", "average"]
144+
# - values: ["--linkage", "weighted"]
145+
# - values: ["--linkage", "median"]
146+
# - values: ["--linkage", "centroid"]
146147
- id: sklearn
147148
name: "sklearn"
148149
software_environment: "clustbench"
@@ -154,15 +155,15 @@ stages:
154155
- values: ["--method", "birch"]
155156
- values: ["--method", "kmeans"]
156157
# - values: ["--method", "spectral"] ## too slow
157-
- values: ["--method", "gm"]
158+
# - values: ["--method", "gm"]
158159
- id: agglomerative
159160
name: "agglomerative"
160161
software_environment: "clustbench"
161162
repository:
162163
url: https://github.com/imallona/clustbench_agglomerative
163164
commit: 5454368
164165
parameters:
165-
- values: ["--linkage", "average"]
166+
# - values: ["--linkage", "average"]
166167
- values: ["--linkage", "complete"]
167168
- values: ["--linkage", "ward"]
168169
- id: genieclust
@@ -174,7 +175,7 @@ stages:
174175
parameters:
175176
- values: ["--method", "genie", "--gini_threshold", 0.5]
176177
- values: ["--method", "gic"]
177-
- values: ["--method", "ica"]
178+
# - values: ["--method", "ica"]
178179
- id: fcps
179180
name: "fcps"
180181
software_environment: "fcps"
@@ -185,15 +186,15 @@ stages:
185186
# - values: ["--method", "FCPS_AdaptiveDensityPeak"] # not in conda
186187
- values: ["--method", "FCPS_Minimax"]
187188
- values: ["--method", "FCPS_MinEnergy"]
188-
- values: ["--method", "FCPS_HDBSCAN_2"]
189-
- values: ["--method", "FCPS_HDBSCAN_4"]
190-
- values: ["--method", "FCPS_HDBSCAN_8"]
191-
- values: ["--method", "FCPS_Diana"]
192-
- values: ["--method", "FCPS_Fanny"]
193-
- values: ["--method", "FCPS_Hardcl"]
194-
- values: ["--method", "FCPS_Softcl"]
195-
- values: ["--method", "FCPS_Clara"]
196-
- values: ["--method", "FCPS_PAM"]
189+
# - values: ["--method", "FCPS_HDBSCAN_2"]
190+
# - values: ["--method", "FCPS_HDBSCAN_4"]
191+
# - values: ["--method", "FCPS_HDBSCAN_8"]
192+
# - values: ["--method", "FCPS_Diana"]
193+
# - values: ["--method", "FCPS_Fanny"]
194+
# - values: ["--method", "FCPS_Hardcl"]
195+
# - values: ["--method", "FCPS_Softcl"]
196+
# - values: ["--method", "FCPS_Clara"]
197+
# - values: ["--method", "FCPS_PAM"]
197198
inputs:
198199
- entries:
199200
- data.matrix
@@ -213,19 +214,19 @@ stages:
213214
parameters:
214215
- values: ["--metric", "normalized_clustering_accuracy"]
215216
- values: ["--metric", "adjusted_fm_score"]
216-
- values: ["--metric", "adjusted_mi_score"]
217-
- values: ["--metric", "adjusted_rand_score"]
218-
- values: ["--metric", "fm_score"]
219-
- values: ["--metric", "mi_score"]
220-
- values: ["--metric", "normalized_clustering_accuracy"]
221-
- values: ["--metric", "normalized_mi_score"]
222-
- values: ["--metric", "normalized_pivoted_accuracy"]
223-
- values: ["--metric", "pair_sets_index"]
224-
- values: ["--metric", "rand_score"]
217+
# - values: ["--metric", "adjusted_mi_score"]
218+
# - values: ["--metric", "adjusted_rand_score"]
219+
# - values: ["--metric", "fm_score"]
220+
# - values: ["--metric", "mi_score"]
221+
# - values: ["--metric", "normalized_clustering_accuracy"]
222+
# - values: ["--metric", "normalized_mi_score"]
223+
# - values: ["--metric", "normalized_pivoted_accuracy"]
224+
# - values: ["--metric", "pair_sets_index"]
225+
# - values: ["--metric", "rand_score"]
225226
inputs:
226227
- entries:
227228
- clustering.predicted_ks_range
228229
- data.true_labels
229230
outputs:
230231
- id: metrics.scores
231-
path: "{input}/{stage}/{module}/{params}/{dataset}.scores.gz"
232+
path: "{input}/{stage}/{module}/{params}/{dataset}.scores.gz"

0 commit comments

Comments
 (0)