Milad Alshomary
commited on
Commit
·
224c491
1
Parent(s):
64aa784
updates
Browse files
utils/interp_space_utils.py
CHANGED
|
@@ -581,7 +581,7 @@ def compute_clusters_style_representation_3(
|
|
| 581 |
|
| 582 |
# Build per-author sets of features that have at least one span
|
| 583 |
author_present_feature_sets = [
|
| 584 |
-
{feature for feature, spans in feature_map.items() if len(spans) > 0}
|
| 585 |
for _, feature_map in filtered_task_authors.items()
|
| 586 |
]
|
| 587 |
|
|
|
|
| 581 |
|
| 582 |
# Build per-author sets of features that have at least one span
|
| 583 |
author_present_feature_sets = [
|
| 584 |
+
{feature for feature, spans in feature_map.items() if spans and len(spans) > 0}
|
| 585 |
for _, feature_map in filtered_task_authors.items()
|
| 586 |
]
|
| 587 |
|