Skip to content

Commit

Permalink
Use expanded_ct_inferred_u80 instead of expanded_ct_inferred for trip…
Browse files Browse the repository at this point in the history
…s under 80% inferred labels
  • Loading branch information
iantei committed Sep 29, 2024
1 parent d540e43 commit 30635f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viz_scripts/generic_metrics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
" text_results = [[\"Unmodified Alt Text\", \"Unmodified HTML\"], [\"Unmodified Alt Text\", \"Unmodified HTML\"], [\"Unmodified Alt Text\", \"Unmodified HTML\"]]\n",
" plot_and_text_stacked_bar_chart(expanded_ct_u80, lambda df: df.groupby(\"mode_confirm_w_other\").agg({distance_col: 'count'}).sort_values(by=distance_col, ascending=False), \n",
" \"Labeled by user\\n\"+labeled_u80_quality_text, ax[0], text_results[0], colors_mode, debug_df, values_to_translations)\n",
" plot_and_text_stacked_bar_chart(expanded_ct_inferred, lambda df: df.groupby(\"mode_confirm_w_other\").agg({distance_col: 'count'}).sort_values(by=distance_col, ascending=False), \n",
" plot_and_text_stacked_bar_chart(expanded_ct_inferred_u80, lambda df: df.groupby(\"mode_confirm_w_other\").agg({distance_col: 'count'}).sort_values(by=distance_col, ascending=False), \n",
" \"Labeled and Inferred by OpenPATH\\n\"+inferred_u80_quality_text, ax[1], text_results[1], colors_mode, debug_df_inferred, values_to_translations)\n",
" plot_and_text_stacked_bar_chart(expanded_ct_sensed_u80, lambda df: df.groupby(\"primary_mode\").agg({distance_col: 'count'}).sort_values(by=distance_col, ascending=False), \n",
" \"Sensed by OpenPATH\\n\"+sensed_u80_quality_text, ax[2], text_results[2], colors_sensed, debug_df_sensed)\n",
Expand Down

0 comments on commit 30635f7

Please sign in to comment.