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

get_covid_data_dict.py - Incorrect Classification Logic #3

Open
beyerch opened this issue Apr 12, 2021 · 2 comments
Open

get_covid_data_dict.py - Incorrect Classification Logic #3

beyerch opened this issue Apr 12, 2021 · 2 comments

Comments

@beyerch
Copy link

beyerch commented Apr 12, 2021

This code creates a series of lists whose elements are later compared to the finding column from the metadata.csv file.

image

Unfortunately the logic does not work, which I noticed when it reported 0 COVID images.

image

The issue is that the information from the metadata.csv file is not a single item which neatly aligns with a member of the list, rather it is a hierarchy from least to most specific. For example, COVID-19 isn't referenced as COVID-19, it is: 'Pneumonia/Viral/COVID-19'. Because of this, the logic fails.

The "easy" fix is to just split the string by / and use the right-most entry.

image

After this update, x0 - x4 appear to give meaningful results

image

@qxiaobu
Copy link
Owner

qxiaobu commented Apr 13, 2021

Please refer to the metadata.csv in FLANNEL/original data/

@beyerch
Copy link
Author

beyerch commented Apr 13, 2021

Definitely looks like the format has changed. Will submit with updated versioning for more recent dataset

image

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