PT - JOURNAL ARTICLE AU - Majeed, Taban AU - Rashid, Rasber AU - Ali, Dashti AU - Asaad, Aras TI - Covid-19 detection using CNN transfer learning from X-ray Images AID - 10.1101/2020.05.12.20098954 DP - 2020 Jan 01 TA - medRxiv PG - 2020.05.12.20098954 4099 - http://medrxiv.org/content/early/2020/05/19/2020.05.12.20098954.short 4100 - http://medrxiv.org/content/early/2020/05/19/2020.05.12.20098954.full AB - The Covid-19 first occurs in Wuhan, China in December 2019. After that the virus spread all around the world and at the time of writing this paper the total number of confirmed cases are above 4.7 million with over 315000 deaths. Machine learning algorithms built on radiography images can be used as decision support mechanism to aid radiologists to speed up the diagnostic process. The aim of this work is twofold. First, a quantitative analysis to evaluate 12 off-the-shelf convolutional neural networks (CNNs) for the purpose of COVID-19 X-ray image analysis. Specifically, CNN transfer learning procedure was adopted due to the small number of images available for investigation. We also proposed a simple CNN architecture with a small number of parameters that perform well on distinguishing COVID-19 from normal X-rays. Secondly, a qualitative investigation performed to inspect the decisions made by CNNs using a technique known as class activation maps (CAM). Using CAMs, one can map the activations contributed most to the decision of CNNs back to the original image to visualize the most discriminating regions on the input image. Chest X-ray images used in this work are coming from 3 publicly available sources. Two COVID-19 X-ray image datasets and a large dataset of other non-COVID-19 viral infections, bacterial infections and normal X-rays utilised.We conclude that CNN decisions should not be taken into consideration, despite their high classification accuracy, until clinicians can visually inspect the region(s) of the input image used by CNNs that lead to its prediction.Competing Interest StatementThe authors have declared no competing interest.Funding StatementNo external funding was received.Author DeclarationsAll relevant ethical guidelines have been followed; any necessary IRB and/or ethics committee approvals have been obtained and details of the IRB/oversight body are included in the manuscript.YesAll necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.YesAll data and trained Models are available upon request. https://github.com/ieee8023/covid-chestxray-dataset