Projekt

Obecné

Profil

Project details » Historie » Verze 3

Alex Konig, 2021-04-28 18:50

1 1 Alex Konig
h1. Project details
2
3
h2. Data
4
5
The application uses datasets containing historical information about the weather on campus and activity based on JIS card verifications and historical WebAuth data
6
* JIS data - data about JIS interaction on ZČU (source: http://opendata.zcu.cz/Snimace-JIS.html )
7
* Weather data - historical weather data on ZČU campus (source: http://opendata.zcu.cz/Energeticky-dispecink.html )
8
* Authentication system - data containing history of log-ins to school computers on ZČU (source: http://opendata.zcu.cz/Autentizacni-system.html )
9
10
Data is processed in regards to buildings, and model can then combine those information sets in a way that produces the most sensible results. More details about data is written on page [[Data sources]].
11
12
h3. Weather
13
14
Weather data for model training contains the following information: date and time (dd:mm:yyyy hh:mm:ss), temperature in °C, wind m/s, rain (0/1), light values in lux. Weather condition values sunny/partly cloudy/overcast/dark are approximated from data input in lux values.
15
16
17
User can input the following values:
18
* date (dd:mm:yyyy hh:mm)
19
* temperature in °C
20
* wind in m/s
21
* probability of rain (0-100%)
22
* weather conditions (sunny/cloudy/overcast/dark)
23
24
However from training data only data from 7am to 6pm will be included in training. That is because this time period is deemed relevant to university class attendance.
25
26
User has two options: use automatic weather prediction or input all of those values manually, if they choose so. Automatic weather data is downloaded from server http://wttr.in/Plzen,czechia?format=j1
27
28
This data source is a JSON data file and contains data from today, tommorrow and the day after tommorrow, all in 3h intervals between 0am and 9pm.
29
30
h3. Datasets
31
32
Datasets are freely availible online, and every month should be updated with new dataset. Adding new data to already running application needs re-training of the model, so the responsibility to trigger download and retrain of model belongs to a server administrator and can be triggered any time.
33
34
There will be possibility to include in retraining only a certain part of input data, based on requested time period.
35
36
h2. Design
37
38
In this chapter is the general description of application capabilities. Details about architecture and communication protocols can be found in [[Project architecture]]
39
40
h3. Client application
41
42 3 Alex Konig
Design propositions can be seen on page [[Client application design]]
43 1 Alex Konig
44 2 Alex Konig
Output from application is a heatmap and rush level (very calm, calm, average, busy, very busy)
45 1 Alex Konig
46
Requests that are sent to server are the weather values specified in chapter Data - weather.
47
48
h3. Server application
49
50
Server needs to provide the following options for server administrator:
51
* retrain model
52
* download data
53
54
Furthermore server needs to process and answer client requests. Server answers with percentage of activity (aka how much traffic is predicted to be in a specific building at a specific  time taking into consideration specific weather conditions).
55
56
That means that server application needs to interract with client, server administrator and with online data sources.
57
58
h2. Implementation
59
60
h3. Client
61
62
The application is a mobile app, or WebGL app. It is developed in Unity which provides more possibilities for export with modifications for given platforms.
63
64
* Mobile app
65
Android support 5.0 and higher, use Unity UI tools to provide touch support.
66
Deliver an apk of the application to download outside of the Playstore or optionally, create a developer account.
67
68
* WebGL app
69
This provides the option to embed a Unity Canvas app in a simple website. Possible issues with support in various browsers, but unlike the mobile app, the university could provide hosting.
70
71
h3. Model
72
73
Model will be based on multiple Naive Bayes classifiers.