Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flat list of label + location #33

Open
jansoe opened this issue Aug 12, 2020 · 1 comment
Open

Flat list of label + location #33

jansoe opened this issue Aug 12, 2020 · 1 comment

Comments

@jansoe
Copy link

jansoe commented Aug 12, 2020

according to the paper I was expecting that the combined labels of finding and location is a nested list

along with their localizations when available: [[’pulmonary fibrosis’,’loc basal bilateral’], [’chronic changes’], [’kyphosis’], [’pseudonodule’, ’groundglass pattern’, ’loc basal’]].

but it seems to me, that in the data bimcv_covid19_posi_head_iter1/derivatives/labels/labels_covid19_posi.tsv the list is flat and that there is no obvious way to slice it?

Unnamed: 0 PatientID ReportID Report Labels Localizations LabelsLocalizationsBySentence labelCUIS LocalizationsCUIS
0 sub-S03968 ses-E08123 no disponemos de estudios previos con los que comparar . infiltrados en practicamente todo el hemitorax derecho e izquierdo de predominio en campo medio y basal y mayores en el lado derecho . no se aprecia derrame pleural . no dispongo de estudios previos con los que comparar . a valorar en el contexto clinico posible covid 19 "['infiltrates' 'COVID 19']" "['loc left' 'loc pleural' 'loc basal' 'loc middle lung field' 'loc right' 'loc hemithorax']" "['exclude' 'infiltrates' 'loc left' 'loc right' 'loc basal' 'loc hemithorax' 'loc middle lung field' 'normal' 'loc pleural' 'exclude' 'COVID 19']" "[C0277877 C5203670]" "[C0443246 C0032225 C1282378 C0929434 C0444532 C0934569]"

@sabentura
Copy link
Contributor

Thanks for your comment. We'll tell the developer about it. Meanwhile, I hope you can make the relation of each finding and its locations. For example: the locations of 'infiltrates' are the next values with loc, I meant, 'loc left' 'loc right' 'loc basal' 'loc hemithorax' and 'loc middle lung field'

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants