Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Planeshifter/4e5acf8c90a49514512973b21749594c to your computer and use it in GitHub Desktop.
Save Planeshifter/4e5acf8c90a49514512973b21749594c to your computer and use it in GitHub Desktop.
deidentify i2b2 outputs
IDENTIFIED
{
DATE: { missed: 792, hits: 4166, recall: 0.8402581686163776 },
DOCTOR: { missed: 310, hits: 1575, recall: 0.8355437665782494 },
PATIENT: { missed: 186, hits: 684, recall: 0.7862068965517242 },
USERNAME: { missed: 0, hits: 92, recall: 1 },
HOSPITAL: { missed: 62, hits: 712, recall: 0.9198966408268734 },
STREET: { missed: 50, hits: 85, recall: 0.6296296296296297 },
CITY: { missed: 44, hits: 210, recall: 0.8267716535433071 },
STATE: { missed: 2, hits: 188, recall: 0.9894736842105263 },
COUNTRY: { missed: 48, hits: 64, recall: 0.5714285714285714 },
ZIP: { missed: 94, hits: 46, recall: 0.32857142857142857 },
ORGANIZATION: { missed: 23, hits: 53, recall: 0.6973684210526315 },
'LOCATION-OTHER': { missed: 7, hits: 5, recall: 0.4166666666666667 },
AGE: { missed: 580, hits: 0, recall: 0 },
NAME: { missed: 496, hits: 2351, recall: 0.8257815244116614 },
LOCATION: { missed: 330, hits: 1363, recall: 0.8050797401063201 },
OVERALL: { missed: 1618, hits: 7880, recall: 0.8296483470204253 },
'NAME / LOCATION / ORGANIZATION': { hits: 3767, missed: 849, recall: 0.8160745233968805 }
}
FLAGGED
{
NAME: 3355,
LOCATION: 886,
DATE: 5021,
PHONE: 139,
ORGANIZATION: 3419,
FAX: 336,
OVERALL: 13156,
'NAME / LOCATION / ORGANIZATION': 7660
}
PRECISIONS
{
'NAME / LOCATION / ORGANIZATION': 0.49177545691906005,
DATE: 0.8297151961760606,
OVERALL: 0.5989662511401642
}
F1 Score
0.6956828816103117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment