fatality prediction of covid-19 patients

20
Pornlapat Saligupta, 6105077, 4th year, Department of Physics, Faculty of Science, Mahidol University Fatality Prediction of COVID-19 Patients Using Artificial Intelligent. 1 Image: https://github.com/softnami/Autoencoder /20

Upload: others

Post on 17-Feb-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fatality Prediction of COVID-19 Patients

Pornlapat Saligupta, 6105077,4th year, Department of Physics, Faculty of Science, Mahidol University

Fatality Prediction of COVID-19 Patients Using Artificial Intelligent.

1

Image: https://github.com/softnami/Autoencoder

/20

Page 2: Fatality Prediction of COVID-19 Patients

Outline

2

• Introduction • Autoencoder • Rare Event Detection • Data Sets • Methodology • Threshold Selection • Results • Conclusion • References

/20

Page 3: Fatality Prediction of COVID-19 Patients

Introduction

3

• Limited medical resources • Prioritising Covid-19 patients • Fatality Prediction using

rare event detection autoencoder

/20

Page 4: Fatality Prediction of COVID-19 Patients

Autoencoder

4

A neural network that learns effective representation of the input data (encoding) and then reconstructs the representative codes back into the original input (decoding).

Image: https://github.com/softnami/Autoencoder

/20

Page 5: Fatality Prediction of COVID-19 Patients

Autoencoder

5 Image: Li, Y. et al (2020)

“compress” into lower dimension

“copy” of the input

Reconstruction

/20

Page 6: Fatality Prediction of COVID-19 Patients

Rare Event Detection

6

• Learnt normal data • Detect anomaly data • Reconstruction error • Ex: Cat (normal), Dog (anomaly)

/20

Page 7: Fatality Prediction of COVID-19 Patients

Data Sets

7

Including features like • Age • Symtoms • Chronic diseases • Death outcome • Etc.

train70%

test30%

Validation30%

Train70%

/20

Page 8: Fatality Prediction of COVID-19 Patients

Data Sets

8

Train data • Normal data set • All alive cases

Train70%

/20

Page 9: Fatality Prediction of COVID-19 Patients

Data Sets

9

Validation data • Threshold selection • Differentiates alive and

dead cases

Validation30%

/20

Page 10: Fatality Prediction of COVID-19 Patients

Data Sets

10

test30%

Test set • Dataset with both

alive and dead cases • “In real life data”

/20

Page 11: Fatality Prediction of COVID-19 Patients

Methodology

11 Image: Li, Y. et al (2020)/20

Page 12: Fatality Prediction of COVID-19 Patients

Threshold Selection

12

• Precision • Recall • F1

Image: Li, Y. et al (2020)/20

Page 13: Fatality Prediction of COVID-19 Patients

Threshold Selection

13

How many selected elements are relevant

precision =true positive

true positive + false positive

Image(2): https://en.wikipedia.org/wiki/F-score/20

image(1):https://dmcommunity.org/2020/09/09/how-to-evaluate-performance-of-machine-learning-models/

(1)(2)

Page 14: Fatality Prediction of COVID-19 Patients

Threshold Selection

14

How many relevant elements are selected

recall =true positive

true positive + false negative

/20(1)

(2)

image(1):https://dmcommunity.org/2020/09/09/how-to-evaluate-performance-of-machine-learning-models/ Image(2): https://en.wikipedia.org/wiki/F-score

Page 15: Fatality Prediction of COVID-19 Patients

Threshold Selection

15

• Harmonic mean of precision and recall

• How good is the algorithm

F1 = 2 ×precision × recallprecision + recall

Image: https://en.wikipedia.org/wiki/F-score/20

Page 16: Fatality Prediction of COVID-19 Patients

Threshold Selection

16

Threshold Selection • Highest F1 score • Threshold = 2.5

Image: Li, Y. et al (2020)/20

Page 17: Fatality Prediction of COVID-19 Patients

Results

17

• Only death cases are above the threshold line

• Only true positives are above the threshold line

• Predicted36/37 deaths (Test dataset)

Image: Li, Y. et al (2020)

True positive and false positive

Threshold

/20

Page 18: Fatality Prediction of COVID-19 Patients

Conclusion

18

• Using an Autoencoder for Rare Event Detection

• Alive cases as normal dataDead cases as anomaly data

• Reconstruction error

Normal Dataset70%

/20

Page 19: Fatality Prediction of COVID-19 Patients

Conclusion

19

• Selecting Threshold using F1 score

• Using the threshold to differentiate alive and dead cases

Images: Li, Y. et al (2020)/20

Page 20: Fatality Prediction of COVID-19 Patients

References

20

• Li, Y., Horowitz, M. A., Liu, J., Chew, A., Lan, H., Liu, Q., … Yang, C. (2020). Individual-Level Fatality Prediction of COVID-19 Patients Using AI Methods. Frontiers in Public Health, 8(September), 1–12.

• Intro to Autoencoders | TensorFlow Core. (n.d.). TensorFlow. Retrieved September 14, 2021, from https://www.tensorflow.org/tutorials/generative/autoencoder

• Koehrsen, W. (2021, August 6). Beyond Accuracy: Precision and Recall - Towards Data Science. Medium. https://towardsdatascience.com/beyond-accuracy-precision-and-recall-3da06bea9f6c

/20