projets:plim:20142015:gr9
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
projets:plim:20142015:gr9 [2014/11/23 15:20] – palma | projets:plim:20142015:gr9 [2014/11/23 18:08] (Version actuelle) – palma | ||
---|---|---|---|
Ligne 29: | Ligne 29: | ||
== Data filtering == | == Data filtering == | ||
- | In order to remove the high frequency noise occurring on the accelerometer axis measurements in the real conditions, we implemented a Butterworth | + | In order to remove the high frequency noise occurring on the accelerometer axis measurements in the real conditions, we implemented a [[http:// |
- | Also, walking and running activities generates a periodic pattern on the accelerometer axis data within a frequency range from 2Hz to 6Hz while resting and driving a car activities do not match any periodic pattern data on the accelerometer axis. The periodic pattern frequency feature cannot be measured in the time domain hence the use of a Fast Fourier Transform (FFT) applied on the accelerometer sensor raw (or filtered) in order to extract the pattern frequency feature. | + | Also, walking and running activities generates a periodic pattern on the accelerometer axis data within a frequency range from 2Hz to 6Hz while resting and driving a car activities do not match any periodic pattern data on the accelerometer axis. The periodic pattern frequency feature cannot be measured in the time domain hence the use of a [[http:// |
== Features extraction == | == Features extraction == | ||
Ligne 51: | Ligne 51: | ||
== Classification == | == Classification == | ||
- | The k-means unsupervised classification algorithm has been used to cluster features into categories mapping onto user activities. It is well suited for our purpose since it is fast and we know upfront the amount of clusters which corresponds to the user activities we want to track (resting, walking, running and driving a car). | + | The [[http:// |
The k-means clustering algorithm computes the mean value of a ten dimension vector (the ten features defined earlier) and computes the Euclidian distance in between this value and the values of each cluster mean value (cluster’s centroid). The vector is assigned to the nearest cluster (with the lowest Euclidian distance). Then, the nearest cluster’s centroid is updated to take into account the new vector it has been assigned to. | The k-means clustering algorithm computes the mean value of a ten dimension vector (the ten features defined earlier) and computes the Euclidian distance in between this value and the values of each cluster mean value (cluster’s centroid). The vector is assigned to the nearest cluster (with the lowest Euclidian distance). Then, the nearest cluster’s centroid is updated to take into account the new vector it has been assigned to. | ||
Ligne 62: | Ligne 62: | ||
== Requirements == | == Requirements == | ||
- | - Windows 8/8.1 Professionnal. | + | - Windows 8/8.1 Professional. |
- Visual Studio 2013 SP2 update 3. | - Visual Studio 2013 SP2 update 3. | ||
- Windows Phone SDK 8.0 | - Windows Phone SDK 8.0 | ||
Ligne 68: | Ligne 68: | ||
== Project zip file == | == Project zip file == | ||
+ | [[https:// | ||
== Installation == | == Installation == | ||
Ligne 103: | Ligne 104: | ||
Once started, you will get the following user interface: | Once started, you will get the following user interface: | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | This interface is mainly designed for a debug purpose. It displays real time data gathered for each measurement window on both accelerometer and GPS. Some sliders are also made available to modify some parameters (although we do not recommend to modify these parameters). | ||
+ | The GPS sensor status is also given by a LED (RED : GPS sensor not ready, GREEN : GPS sensor ready). | ||
You have nothing to do. Just take the cell phone and rest, walk, run or drive a car to get sensors data gathered. | You have nothing to do. Just take the cell phone and rest, walk, run or drive a car to get sensors data gathered. | ||
- | At the end of the day, you can open-up the statistics window to get a status about your daily activities: | ||
+ | Finally, the " | ||
+ | So, at the end of the day, you can open-up the statistics window to get a status about your daily activities: | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | |||
=== RESULTS | === RESULTS | ||
Ligne 113: | Ligne 124: | ||
=== CONCLUSION AND FUTURE WORK === | === CONCLUSION AND FUTURE WORK === | ||
- | We have developed a methodology based on mobile phone accelerometer and GPS sensors to measure user activity. First results are very encouraging despite some instabilities noticed on the GPS measurements leading to wrong cluster mapping. This phenomena is aggravated by the fact that resting to walking and walking to running vectors are close (from a user speed standpoint of view) and very sensitive to speed (then GPS) measurement accuracy. On the other hand, GPS measures are key when dealing with driving activity. So, we could improve by disregarding the speed measurements that are below 15km/h (set to 0km/h) and rely only on the periodic pattern of each axis of the accelerometer to classify resting, walking and running activities. | + | We have developed a methodology based on mobile phone accelerometer and GPS sensors to measure user activity. First results are very encouraging despite some instabilities noticed on the GPS measurements leading to wrong cluster mapping. This phenomena is aggravated by the fact that resting to walking and walking to running vectors are close (from a user speed standpoint of view) and very sensitive to speed (then GPS) measurement accuracy. On the other hand, GPS measures are key when dealing with driving activity. So, we could improve |
Also, the amount of dimensions used in the k-means vector is quite important making hard to ensure data globularity which is a requirement for the k-means algorithm to properly work [19]. The amount of dimension necessary might be refined by additional experiments. | Also, the amount of dimensions used in the k-means vector is quite important making hard to ensure data globularity which is a requirement for the k-means algorithm to properly work [19]. The amount of dimension necessary might be refined by additional experiments. | ||
=== PUBLICATION ==== | === PUBLICATION ==== | ||
- | A preliminary publication of this study can be found here after. This publication would still need to be updated with real sensors results gathered from the cell phone. | + | A preliminary publication of this study can be found here after. This publication would still need to be updated with real sensors results gathered from the cell phone. |
[[https:// | [[https:// | ||
projets/plim/20142015/gr9.1416756047.txt.gz · Dernière modification : 2014/11/23 15:20 de palma