Skip to content

Instantly share code, notes, and snippets.

@elisno
Created September 30, 2022 16:02
Show Gist options
  • Save elisno/6aa5280e958919ffc2909539f4f072da to your computer and use it in GitHub Desktop.
Save elisno/6aa5280e958919ffc2909539f4f072da to your computer and use it in GitHub Desktop.
understanding_outliers_in_text_data_with_transformers,_cleanlab,_and_topic_modeling7
# Visualize 15 least severe outliers in test data
bottom_outlier_idxs = (-test_outlier_scores).argsort()[:20]
bottom_outlier_subset = test_data.select(bottom_outlier_idxs)
bottom_outlier_subset.to_pandas()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment