We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b22fc37 + f245b15 commit 5ba73dbCopy full SHA for 5ba73db
1 file changed
examples/tutorials/curation/plot_1_automated_curation.py
@@ -79,7 +79,7 @@
79
# We can check that this is true by accessing the extension data.
80
81
all_metric_names = list(sorting_analyzer.get_extension('quality_metrics').get_data().keys()) + list(sorting_analyzer.get_extension('template_metrics').get_data().keys())
82
-print(set(all_metric_names) == set(model.feature_names_in_))
+print(set(model.feature_names_in_).issubset(set(all_metric_names)))
83
84
##############################################################################
85
# Great! We can now use the model to predict labels. Here, we pass the HF repo id directly
0 commit comments