projets:plim:20142015:gr6
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:gr6 [2014/11/23 18:59] – zayani | projets:plim:20142015:gr6 [2014/11/23 23:00] (Version actuelle) – zayani | ||
---|---|---|---|
Ligne 54: | Ligne 54: | ||
< | < | ||
</ | </ | ||
- | <div style=" | + | <div style=" |
- | <div style=" | + | <div style=" |
<div style=" | <div style=" | ||
a. Battery optimization< | a. Battery optimization< | ||
Ligne 61: | Ligne 61: | ||
c. Data Storage | c. Data Storage | ||
</ | </ | ||
- | <div style=" | + | |
</ | </ | ||
Ligne 114: | Ligne 114: | ||
< | < | ||
< | < | ||
- | Our project is based on an MVC architecture with a model, controller and view, for collecting data, we have an GPS module with an asynchrone | + | Our project is based on MVC architecture with a model, controller and view for collecting data. We have a GPS module with an asynchronous |
+ | |||
< | < | ||
- | Classification Module is designed like a service, it take data as input and return classified data. The classification is divided into two part, firstly by a K-means | + | Classification Module is designed like a service; it takes data as an input and return classified data. The classification is divided into two parts; |
< | < | ||
- | Classification | + | This classification |
< | < | ||
- | Data are stored in a file in a JSON format, loaded at the start of the app and saved when the app is clossed. | + | Data are stored in a file in a "JSON" |
+ | To save, we use <a href=" | ||
< | < | ||
- | The user interface will contain | + | The user interface will contains |
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Ligne 131: | Ligne 134: | ||
we can define our architecture by this diagram:< | we can define our architecture by this diagram:< | ||
- | < | + | < |
+ | style=" | ||
< | < | ||
If the diagram is not correctly displayed, <a href=" | If the diagram is not correctly displayed, <a href=" | ||
Ligne 230: | Ligne 234: | ||
</ | </ | ||
< | < | ||
- | Before to use the algorithm of clustering, | + | Before to use the clustering |
<div style=" | <div style=" | ||
<div style=" | <div style=" | ||
Ligne 239: | Ligne 243: | ||
< | < | ||
- Supervised Classification< | - Supervised Classification< | ||
- | The supervised classification methods are based on user-defined classes and corresponding representative sample sets. The sample sets are specified by training | + | The supervised classification methods are based on user-defined classes and corresponding representative sample sets. These sample sets are specified by training data sets, which must be created prior to entering the Automatic Classification process. The supervised Classification methods are: Minimum Distance to Mean, Maximum Likelihood, |
- | The supervised Classification methods are: Minimum Distance to Mean, Maximum Likelihood,... | + | |
</ | </ | ||
< | < | ||
< | < | ||
- Unsupervised Classification <br/> | - Unsupervised Classification <br/> | ||
- | The unsupervised classification methods are algorithms that analyze and classify a large number of raster cells. | + | The unsupervised classification methods are algorithms that analyze and classify a large number of raster cells. |
- | Some unsupervised classification | + | |
</ | </ | ||
Ligne 253: | Ligne 255: | ||
< | < | ||
- | Data clustering is the process of allocate an object to a class according to his characteristics A1... An. The most common technique for clustering numeric data is called the k-means algorithm. <br/> | + | Data clustering is the process of allocating |
The k-means is an Unsupervised Classification. Using to find groups of similar or related objects and different from (or unrelated to) the objects in other groups. | The k-means is an Unsupervised Classification. Using to find groups of similar or related objects and different from (or unrelated to) the objects in other groups. | ||
</ | </ | ||
- | <img src=" | + | <img src=" |
< | < | ||
If the image is not correctly displayed, <a href=" | If the image is not correctly displayed, <a href=" | ||
Ligne 263: | Ligne 265: | ||
< | < | ||
- | k-means clustering is a method of classifying items into k groups.<br/> | + | k-means clustering is a method of classifying items into k groups |
- Each point is assigned to the cluster with the closest centroid< | - Each point is assigned to the cluster with the closest centroid< | ||
- A centroid is "the center of mass of a geometric object of uniform density" | - A centroid is "the center of mass of a geometric object of uniform density" | ||
Ligne 322: | Ligne 324: | ||
This part of classification aims to build typical day, indeed a typical week is a composition of 5 typical day. | This part of classification aims to build typical day, indeed a typical week is a composition of 5 typical day. | ||
< | < | ||
- | Firstable, we will group SlotTime by day of week, we give a list of slotime and the day in parameters and the method return the list of slotime corresponding to this day: | + | First of all, we will group SlotTime by day of week, we give a list of slotime and the desired |
< | < | ||
<div style=" | <div style=" | ||
- public List$Slotime slotimeForOneday(List$Slotime brutSlotimes, | - public List$Slotime slotimeForOneday(List$Slotime brutSlotimes, | ||
< | < | ||
- | The second step is, from a list of slotime | + | After that, we will group similar SlotTimes and define their frequencies |
< | < | ||
- | To group slot time by similarity we base on the Start hour and minute, the end hour and minute | + | In order to do this, the partition of frequencies is based on three parameters: |
We provide a list of slot time, specific to a day of week in parameters, and we get a list where slottimes are grouped and the frequence has been defined to each different slot time. | We provide a list of slot time, specific to a day of week in parameters, and we get a list where slottimes are grouped and the frequence has been defined to each different slot time. | ||
< | < | ||
Ligne 336: | Ligne 338: | ||
< | < | ||
- | For the last step, we have to return a list of typical slot from a list of slot time. The list that we have to provide have to be processed by previous methods. < | + | Finally, we have to return a list of typical slot from a list of slot time. The list that we have to provide have to be processed by previous methods. < |
- | The following method, will provide us the calendar of location of a day of week, by slot time of 15min. Then, for every slot of 15min, situated between 8 am and 7 pm, we will assign a location by the max frequency of slotimes | + | The following method, will provide us the calendar of location of a day of week, by slot time of 15min. Then, for every slot of 15min, situated between 8 am and 7 pm, we will assign a location by the max frequency of slotimes |
< | < | ||
< | < | ||
Ligne 349: | Ligne 351: | ||
<div style=" | <div style=" | ||
- | <div style=" | + | <div style=" |
< | < | ||
- | <div> | + | |
+ | < | ||
+ | <div style=" | ||
+ | < | ||
+ | |||
+ | <a href=" | ||
+ | Download project from GoogleDrive</ | ||
+ | < | ||
+ | < | ||
+ | <a href=" | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | < | ||
The interface of our application " | The interface of our application " | ||
< | < | ||
Ligne 360: | Ligne 377: | ||
</ | </ | ||
< | < | ||
- | <img src=" | + | <img src=" |
If the image is not correctly displayed, <a href=" | If the image is not correctly displayed, <a href=" | ||
< | < | ||
Ligne 369: | Ligne 386: | ||
</ | </ | ||
< | < | ||
- | <img src=" | + | <img src=" |
If the image is not correctly displayed, <a href=" | If the image is not correctly displayed, <a href=" | ||
< | < | ||
Ligne 378: | Ligne 395: | ||
</ | </ | ||
< | < | ||
- | <img src=" | + | <img src=" |
If the image is not correctly displayed, <a href=" | If the image is not correctly displayed, <a href=" | ||
< | < | ||
Ligne 385: | Ligne 402: | ||
</ | </ | ||
< | < | ||
- | <img src=" | + | <img src=" |
If the image is not correctly displayed, <a href=" | If the image is not correctly displayed, <a href=" | ||
< | < | ||
Ligne 394: | Ligne 411: | ||
<div style=" | <div style=" | ||
- | <div style=" | + | <div style=" |
< | < | ||
Ligne 409: | Ligne 426: | ||
</ | </ | ||
<div style=" | <div style=" | ||
- | < | + | < |
</ | </ | ||
Ligne 472: | Ligne 489: | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
< | < | ||
Ligne 477: | Ligne 498: | ||
< | < | ||
- | <a href=" | + | <a href=" |
<a href=" | <a href=" |
projets/plim/20142015/gr6.1416769145.txt.gz · Dernière modification : 2014/11/23 18:59 de zayani