A Signal Processing Approach to the Detection of Pulmonary Edema - - PowerPoint PPT Presentation

a signal processing approach to the detection of
SMART_READER_LITE
LIVE PREVIEW

A Signal Processing Approach to the Detection of Pulmonary Edema - - PowerPoint PPT Presentation

A Signal Processing Approach to the Detection of Pulmonary Edema EEE24B Nicole Lim Sze Ting Dr Ser Wee Pulmonary Edema the accumulation of excess fluid in the lungs Accuracy dependent on clinician's experience Limitations of Costly,


slide-1
SLIDE 1

A Signal Processing Approach to the Detection of Pulmonary Edema

EEE24B

Nicole Lim Sze Ting Dr Ser Wee

slide-2
SLIDE 2

Pulmonary Edema

the accumulation of excess fluid in the lungs

slide-3
SLIDE 3

Limitations of current methods

Accuracy dependent on clinician's experience Costly, require bulky machines Time-consuming Exposure to radiation

slide-4
SLIDE 4

Proposed method: ML algorithm

Faster More consistent and reliable Portable; Suitable for ambulatory use

slide-5
SLIDE 5

ACC 95.7% with 5 features via kNN (k = 3)

Previous studies

Yang, F., Ser, W., Yu, J., Foo, D., Yeo, D., Chia, P., & Wong,

  • J. (n.d.). Lung Water

Detection using Acoustic Techniques (Rep.).

slide-6
SLIDE 6

AIM:

Improve existing algorithm

slide-7
SLIDE 7

Methodology

slide-8
SLIDE 8

1

Data Collection & Pre-Processing

40s

Audio recordings of lung sounds are labelled by a doctor.

slide-9
SLIDE 9

1

Data Collection & Pre-Processing

Recordings are divided into 3 second samples.

40s

40s 40s 3s

slide-10
SLIDE 10

1

Data Collection & Pre-Processing

40s 40s 3s

1024

x x x x x x x x x x x x

1024

x x x x x x x x x x x x

1024

x x x x x x x x x x x x

1024

x x x x x x x x x x x x

Samples are divided into windows

  • f 1024 points, with 50% overlap.
slide-11
SLIDE 11

1

Data Collection & Pre-Processing

100

y x

t1 (t1, y1) (t1, ✕ 100) y1 ymax

Windows are normalised such that values range from 0 to 100.

slide-12
SLIDE 12

3s

fn

  • No. of windows

= ∑

Average feature value of windows gives final feature value of sample.

1024

x x x x x x x x x x x x

fn

1024

x x x x x x x x x x x x

fn

1024

x x x x x x x x x x x x

fn

1024

x x x x x x x x x x x x

fn

Feature Extraction

2

slide-13
SLIDE 13

3

Feature Selection

(meanA - meanB) 2 varianceA + varianceB Fisher’s ratio =

Fisher's Ratio

Higher FR Lower FR

slide-14
SLIDE 14

Feature Extraction

2 Features used in the detection of wheezing Features previously used in the detection of PE

slide-15
SLIDE 15

Aydore, S., Sen, I., Kahya, Y., & Mihcak, M. (n.d.). Classification of Respiratory Signals by Linear Analysis (Rep.).

Feature Extraction

2 Previous algorithms for the detection of wheezing

slide-16
SLIDE 16

Feature Extraction

2 Features used in the detection of wheezing

Kurtosis

Degree of peakedness of distribution

Renyi Entropy

Randomness of system

Mean Crossing Irregularity & Frequency

Mean-crossing behaviour

slide-17
SLIDE 17

Feature Extraction

2

Fisher's Ratio of features used in the detection of wheezing

Kurtosis Renyi Entropy MCI MCF

0.0010 0.0053 0.0086 0.0349

slide-18
SLIDE 18

Feature Extraction

2 Features previously used in the detection of PE

13 Mel-Frequency Cepstral Coefficients (MFCCs)

Mimic doctor’s logarithmic perception of lung sounds during auscultation

slide-19
SLIDE 19

Feature Extraction

2 Features previously used in the detection of PE

13 Mel-Frequency Cepstral Coefficients (MFCCs)

Mel scale:

Approximated frequency resolution

  • f the human auditory

system

Mels kHz

slide-20
SLIDE 20

Feature Extraction

2 Features previously used in the detection of PE

slide-21
SLIDE 21

Feature Extraction

2 Features previously used in the detection of PE

Ratio & Difference between MFCCs

  • Hypothesised to have higher

discriminating power

  • Derived from top 6 MFCC
slide-22
SLIDE 22

Feature Extraction

2 Features previously used in the detection of PE

slide-23
SLIDE 23

Using Fisher's Ratio in Feature Selection 3

Feature Selection

  • Features with higher FR values

are added first

○ Reduce number of features ○ Higher classification accuracy ○ Shorten training time

slide-24
SLIDE 24

3

Feature Selection

Final feature ranking by FR

slide-25
SLIDE 25

Signal Classifiers

k-Nearest Neighbours (kNN)

Most common label amongst k nearest neighbours

Support Vector Machines (SVM)

Decision boundary/hyperplane determined by support vectors

Signal Classification

4

slide-26
SLIDE 26

Evaluation metrics

Model Evaluation

5

TPR

True positive rate

TNR

True negative rate

ACC

Detection accuracy

10-fold cross validation

slide-27
SLIDE 27

Evaluation metrics

Model Evaluation

5

ACC ACC

Healthy Unhealthy

Algorithm

Healthy Unhealthy

Doctor

slide-28
SLIDE 28

Evaluation metrics

Model Evaluation

5

Missed diagnosis

TPR

Healthy Unhealthy

Algorithm

Healthy Unhealthy

Doctor

slide-29
SLIDE 29

Evaluation metrics

Model Evaluation

5

False alarms TNR

Healthy Unhealthy

Algorithm

Healthy Unhealthy

Doctor

slide-30
SLIDE 30

Evaluation metrics

Model Evaluation

5

TPR

True positive rate

TNR

True negative rate

ACC

Detection accuracy

10-fold cross validation

slide-31
SLIDE 31

10-fold cross validation

Model Evaluation

5

training training training training training training training training training training testing

slide-32
SLIDE 32

10-fold cross validation

Model Evaluation

5

training training training training training training training training training training testing testing testing testing testing testing testing testing testing testing

slide-33
SLIDE 33

Removing features that cause decrease in ACC

Performance Improvement

6

slide-34
SLIDE 34

Removing features that cause decrease in ACC

Performance Improvement

6

  • 1. Rank features by decrease in

ACC caused

  • 2. Remove features from the

model in order of descending decrease caused

slide-35
SLIDE 35

Results & Discussion

slide-36
SLIDE 36

Best Model: kNN

ACC

86

TPR

89

TNR

82

kNN (k = 1)

  • n 24 features
slide-37
SLIDE 37

Best Model: kNN

Effect of removing 6 features

TPR

89 88

ACC

86 85

TNR

82 80 24 18 24 18 24 18

slide-38
SLIDE 38

Best Model: SVM

SVM (C = 1)

  • n 26 features

ACC

86

TPR

88

TNR

82

slide-39
SLIDE 39

Best Model: SVM

Effect of removing 9 features

TPR

88 88

ACC

86 86

TNR

82 83 26 17 26 17 26 17

slide-40
SLIDE 40

Comparison to results of previous works

kNN

ACC

85 85 13 18

TPR

85 88 13 18

TNR

85 80 13 18 YF ME

slide-41
SLIDE 41

Comparison to results of previous works

SVM

TPR

88 88

ACC

87 86

TNR

84 83 12 17 12 17 12 17 YF ME

slide-42
SLIDE 42

Comparison to results of previous works

  • New features with higher FR

values via ratio/difference of MFCC

  • Did not improve ACC

Evaluation of my approach

slide-43
SLIDE 43

Strategies hypothesised to improve ACC

Strategy Evaluation

Features used for the detection of other breathing anomalies Derivation of features using ratio and difference Removal of features that decrease ACC to improve performance

slide-44
SLIDE 44

Strategies hypothesised to improve ACC

Features used for the detection of

  • ther breathing anomalies
  • Not useful in distinguishing

healthy and unhealthy signals ○ PE: crackle sounds

Strategy Evaluation

slide-45
SLIDE 45

Strategies hypothesised to improve ACC

Derivation of features using ratio and difference

  • Can derive features with higher

FR ⇒ ↑ discriminating power

  • Time-consuming

○ Comparison of boxplots

Strategy Evaluation

slide-46
SLIDE 46

Strategies hypothesised to improve ACC

Renyi entropy

Randomness of system

Mean Crossing Irregularity (MCI) & Mean Crossing Frequency (MCF)

Mean-crossing behaviour

Removal of features that decrease ACC to improve performance

  • ↓ training time
  • ↓ algorithm complexity
  • Can potentially improve ACC

○ SVM algorithm

Strategy Evaluation

slide-47
SLIDE 47

Limitations

Uncertainty in performance evaluation due to validation method Quality of data & reliability of doctor

slide-48
SLIDE 48

Future Work

Automate derivation of ratio/ difference-based features Vary number of MFCCs

slide-49
SLIDE 49

Conclusion

slide-50
SLIDE 50

Yang Feng's algorithm performed better Proposed algorithm

  • SVM (C = 1)
  • 17 features
  • ACC 85.8, TPR 88, TNR 83

Key points

slide-51
SLIDE 51

SVM > kNN

TPR

88

ACC

85

TNR

80 24 18 24 18 24 18

Key points

SVM kNN

88 86 83 17 17 17

slide-52
SLIDE 52

Wheeze detection features for pulmonary edema detection

Key points

Difference/ratio-based feature derivation for features with higher Fisher's ratio values Removing features that decrease accuracy to improve performance

slide-53
SLIDE 53

Dr Ser Wee

Research mentor

Acknowledgements

Dr Shi Wen

Advice on MATLAB and data handling

Mr Low Kay Siang

Teacher-mentor

slide-54
SLIDE 54

Q&A