Skip to content

Commit

Permalink
CU-8693wtx4: Add option to filter by CUI when comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-r committed Feb 22, 2024
1 parent 8efdf62 commit 0018202
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion medcat/compare_models/model_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@
"from compare import get_diffs_for\n",
"from output import parse_and_show, show_dict_deep, compare_dicts\n",
"\n",
"cdb_comp, tally1, tally2, ann_diffs = get_diffs_for(model_path_1, model_path_2, documents_file)"
"cui_filter = None\n",
"# optional CUI filter:\n",
"# cui_filter = {\"25064002\"}\n",
"\n",
"cdb_comp, tally1, tally2, ann_diffs = get_diffs_for(model_path_1, model_path_2, documents_file, cui_filter=cui_filter)"
]
},
{
Expand Down

0 comments on commit 0018202

Please sign in to comment.