Compare commits
3 Commits
2c5aece65d
...
035d22b234
| Author | SHA1 | Date | |
|---|---|---|---|
| 035d22b234 | |||
| 0d92a5a170 | |||
| c1db7ad7eb |
+2
-3
@@ -986,9 +986,8 @@ def _run_clustering_pipeline(run, store, entity_ds_id, feature_columns, algorith
|
|||||||
profiles = []
|
profiles = []
|
||||||
cr_cache = {}
|
cr_cache = {}
|
||||||
for i, row in enumerate(df_umap.iter_rows(named=True)):
|
for i, row in enumerate(df_umap.iter_rows(named=True)):
|
||||||
ev = str(row.get(ent_col, ''))
|
ev = str(row.get(ent_col, '')) or 'entity'
|
||||||
if not ev:
|
ev = f'{ev}_{i}'
|
||||||
continue
|
|
||||||
lbl = labels_list[i] if i < len(labels_list) else -1
|
lbl = labels_list[i] if i < len(labels_list) else -1
|
||||||
cache_key = f'{run.id}_{lbl}'
|
cache_key = f'{run.id}_{lbl}'
|
||||||
if cache_key not in cr_cache:
|
if cache_key not in cr_cache:
|
||||||
|
|||||||
Reference in New Issue
Block a user