Projekt

Obecné

Profil

Product Vision Statement » Historie » Verze 38

Alex Konig, 2021-05-06 08:05

1 31 Alex Konig
h1. Product Vision Statement
2 1 Roman Kalivoda
3
h2. Project Goals
4
5 11 Zuzana Káčereková
Creating an application that will based on weather input, predict the attendance in class. User will be able to input their own weather information or choose a prediction based on current weather information or prediction for future days.
6 5 Roman Kalivoda
7 10 Alex Konig
h3. Customers and benefits
8
9 11 Zuzana Káčereková
Can be useful for teachers when planning for activities that require higher attendance. For example, if the teacher wants to give their students a pop quiz about their current knowledge from lectures, to get a better idea of the class's general understanding it would be good to have as many answers as possible. This app would enable to predict the attendance for a class, and therefore to decide if it is worth it to plan a 30min window in the lecture for a quiz or to rather plan something else.
10 6 Alex Konig
11 11 Zuzana Káčereková
It could also be useful for students to decide how early to get to class to get the best seats. Many classrooms only have a limited number of plugs, and since a lot of students write notes on their laptops, the seats near these plugs are highly valuable. This app would enable the students to look how at how populated the building will be and decide if coming early to the lecture will be necessary to get those good seats.
12 6 Alex Konig
13 12 Zuzana Káčereková
h3. User input
14 1 Roman Kalivoda
15 35 Alex Konig
* Date (or system date) - dd:mm:yyyy + Time - hh
16
** Start and end dateTime for prediction of rush level over a timespan, or just start dateTime for prediction at one specific time
17
* Weather
18
** automatic prediction from official weather server prediction 
19
** possibility to manually input custom values - temperature, wind, rain probability, weather conditions (sunny/cloudy/overcast/dark)  
20
* classroom prefix (-> will be interpreted as building the classroom is in)
21 1 Roman Kalivoda
22 6 Alex Konig
h3. Output
23 8 Alex Konig
24 36 Alex Konig
* Rush level (very calm, calm, average, busy, very busy)
25
** Visualization as a "heatmap" showing rush across the campus
26
** If user put end date an animation of changes in rush level
27 25 Alex Konig
28 37 Alex Konig
Rush level is relative to the building it is related to. 50% on FAV does not have to mean the same predicted value of activity as 50% on FST, it depends on usual amount of activity read from data for each specific building
29
30 1 Roman Kalivoda
h3. Happy Day use-case
31 25 Alex Konig
32 32 Alex Konig
The user will specify a date and classroom (e.g. UC-336) for which they wish to get the prediction of attendance. It will be possible to choose to have the weather forecast data for the given day downloaded automatically or user has to option to input custom weather manually. The output of the app will be a text field and a heatmap saying the rush level the model predicts (e.g. very high and a brightly lit up building).
33 25 Alex Konig
34 14 Zuzana Káčereková
h3. Key factors to judge application quality
35 1 Roman Kalivoda
36 14 Zuzana Káčereková
* Application response time
37 32 Alex Konig
* UI design appeals to the customer
38 14 Zuzana Káčereková
* Maintainability (as a measure of effort required to update the model with new data)
39 10 Alex Konig
40 38 Alex Konig
Prediction quality is not guaranteed at this stage as data quality is out of our control and hugely impacts the output. Quality should also improve over time as more data is collected by ZCU.
41 1 Roman Kalivoda
42 25 Alex Konig
h3. Key product features
43 17 Zuzana Káčereková
44 1 Roman Kalivoda
h4. Server (backend) part
45 17 Zuzana Káčereková
46 1 Roman Kalivoda
There will be a server application which:
47 34 Alex Konig
* Runs on linux
48
* Capable of updating data at admin request
49
* Capable of retraining prediction model on admin request
50
** Capable of rollback
51
* Will run predictions based on client app requests and send the response once it is ready.
52
* Software designed to support smooth model transition
53
** Modular application, easy to swap parts (for ex. spap for different data parser or data loader or possibly in the future for different data)
54 16 Zuzana Káčereková
55 5 Roman Kalivoda
We decided that the backend will be developed in C# and .NET platform.
56
57 34 Alex Konig
h4. Frontend app
58 5 Roman Kalivoda
59 34 Alex Konig
* Able to specify input parameters
60
** user will be able to specify an arbitrary classroom prefix at ZCU,
61
** User will be able to specify arbitrary weather conditions (e.g. temperature, precipitation) or use an automatic weather forecast,
62
** These input data will be made into a web request and sent to the server,
63
* Able to access and visualize prediction using the earlier specified input parameters
64
** Heat map type visualisation
65
** Able to easily browse prediction across a greater range of time
66
* Has a web interface (webGL) and/or mobile interface (Android)
67 5 Roman Kalivoda
68 18 Zuzana Káčereková
The app will be written in C# and Unity framework.
69 1 Roman Kalivoda
70 3 Eliška Mourycová
h4. Android app
71
72
There will be an android app with functionality similar to the web frontend. The app will also be developed with C# and Unity.
73
74 1 Roman Kalivoda
75
h2. Project Plan
76
77 33 Alex Konig
See Redmine tab Roadmap.
78
79 1 Roman Kalivoda
80
h2. Stakeholders
81
82
* Development Team
83
* Project Sponsor
84 24 Alex Konig
* Project Mentor
85
* Users: lecturers teaching classes at ZČU
86 1 Roman Kalivoda
* Users: students attending classes at ZČU
87
88
h2. Risks
89 22 Zuzana Káčereková
90 4 Roman Kalivoda
h3. Available data is too crude
91 23 Zuzana Káčereková
92 4 Roman Kalivoda
Chances are that the data is not specific enough to make proper predictions for some buildings, much less single classrooms. Hopefully, the model could be improved gradually when there is more data available. In the meantime, the granularity will be selected based on the model quality we achieve.
93 21 Zuzana Káčereková
94 4 Roman Kalivoda
h3. Our effort estimation may be grossly underestimated
95
96
We should define/negotiate a minimum viable product and prioritize individual features.
97
98
h3. We proposed an unsuitable technological stack
99 21 Zuzana Káčereková
100 1 Roman Kalivoda
Due to our unfamiliarity with web programming we've chosen to use technologies closer to our previous experience. These limit us in that the web application will not be easily compatible with mobile platforms. However, in turn, we can easily implement more complex UI and visualizations, and with some extra effort produce both a web and a mobile application using the same components.
101 26 Alex Konig
102
h2. Solution
103
104 27 Alex Konig
[[Minimum viable product]]
105 29 Alex Konig
106
h2. Details
107
108 30 Alex Konig
For more details about implementation and processed data consult [[Project details]]