how to detect soft falls on devices

24
How to Detect soft falls on devices some signal processing with knimeProf. Dr. Dominique Genoud Institute of Information Systems [email protected] Techno-Pôle 3 CH-3960 Sierre Switzerland Vincent Cuendet master HES-SO, Lausanne, Switzerland Julien Torrent FST, Neuchâtel,Switzerland

Upload: institute-of-information-systems-hes-so

Post on 23-Jan-2018

1.046 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: How to detect soft falls on devices

How to Detect soft falls

on devices

some signal processing with knime”

Prof. Dr. Dominique Genoud

Institute of Information Systems

[email protected]

Techno-Pôle 3 – CH-3960 Sierre

Switzerland

Vincent Cuendet master HES-SO,

Lausanne, Switzerland

Julien Torrent FST,

Neuchâtel,Switzerland

Page 2: How to detect soft falls on devices

Processing flow

Page 3: How to detect soft falls on devices

Connected android watches

Moto 360 and LG-G watches

Page 4: How to detect soft falls on devices

Use the magnitude of 3D vector

Page 5: How to detect soft falls on devices

Falls

t

About 98% detection

Page 6: How to detect soft falls on devices

Soft falls

[ms]

1% detection with

thresholds

Page 7: How to detect soft falls on devices

Signal processing to find patterns

• Decomposition of a temporal signal:

Fast Fourrier Transform

(FFT)

In the digital word :

Discrete Fourrier Transform

(DFT)

Page 8: How to detect soft falls on devices

Knime to perform DFT

Reading the samples, and

computing the magnitude

vector

Page 9: How to detect soft falls on devices

Knime to perform DFT

Page 10: How to detect soft falls on devices

Knime to perform DFT

Page 11: How to detect soft falls on devices

Knime to perform DFT

• Jwave.jar:

– open source library developed by C.

Scheiblich (MIT)

• The source code and examples are

available there:

– https://github.com/cscheiblich/JWave

• License free :

Page 12: How to detect soft falls on devices

Other polular pattern detection

• Wavelet transform : https://en.wikipedia.org/wiki/Wavelet_transform

Page 13: How to detect soft falls on devices

Knime to perform Wavelets

• Implemented in the jwave.jar library:

Haare Legendre Daubechie

(db2)

Page 14: How to detect soft falls on devices

Knime to perform Wavelets

Page 15: How to detect soft falls on devices

Processing flow

Page 16: How to detect soft falls on devices

Classification experiments

Page 17: How to detect soft falls on devices

Results

Preprocessing Predictor AUC precision

FFT 8 coefficients

Decision Tree Ensemble 0.84 ±0.03

Mulltilayer Perceptron 0.79 ±0.03

Wavelets Haare

Decision Tree Ensemble 0.87 ±0.03

K Nearest Neibourghs 0.75 ±0.04

Daubechie 128 coefficients

Decision Tree Ensemble 0.86 ±0.03

K Nearest Neibourghs 0.73 ±0.04

Stratified Subset of 20% of the original data

Full dataset: 500 soft falls and

1500 normal activities

Page 18: How to detect soft falls on devices

Scoring and precision of AUC

Page 19: How to detect soft falls on devices

How good are

the Decision Tree Ensemble

Page 20: How to detect soft falls on devices

Processing flow

Page 21: How to detect soft falls on devices

Implementation on Android

Jpmml - open source

library

On existing App

Page 22: How to detect soft falls on devices

Enhancements

• Pmml to java compiler

• Wrapped nodes

• Optimize the size of the pmml in memory

Page 23: How to detect soft falls on devices

References

• The example workflows will be available

• Paper on soft falls

Page 24: How to detect soft falls on devices

Questions?

24