-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpreso_2.Rmd
255 lines (179 loc) · 5 KB
/
preso_2.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
---
title: "Mobile, Low-Bandwidth and Low-Tech."
subtitle: "The Story of Chi-Square Mobile"
author: "Aleksander Dietrichson & John Whitmer"
output: beamer_presentation
date: '2022-07-27'
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## About us
- Aleksander Dietrichson
- John Whitmer
- Chi Square Labs
## Context
- Argentina goes into lockdown in March 2020
- Instruction is emergency onlined
- Typically defaulting to video-conferencing
- Only 41.4% of students have access to a computer
- 84% access the internet primarily through a mobile device
- Prior experience found that teachers hesitant to use dashboards disconnected from instruction
Any solution we propose must be mobile first.
## The Feedback Loop
:::: {.columns}
::: {.column width="60%"}
- Instructor teaches an online session
- Feedback is immediately requested from students
- Reported in realtime
- Recommendations made by AI
:::
::: {.column width="40%"}
```{r fig.cap='The Feedback Loop'}
knitr::include_graphics('./images/feedback_loop.png')
```
:::
::::
## Summary of Approaches
- Emergency alpha (March 2020)
- Alpha 2.0 (April 2020)
- Beta 1.0 (August 2021)
## First try: "Emergency alpha"
- Shiny + {shinyMobile}
- Backend in mariaDB (AWS)
- Authentication with {cognitoR}
- Distributed as a PWA
## First try: "Emergency alpha"
:::: {.columns}
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("images/outputfile_8.png")
```
:::
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("images/alpha_0_1.png")
```
:::
::::
## First try: "Emergency alpha"
:::: {.columns}
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("images/outputfile_2003.png")
```
:::
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("images/outputfile_10011.png")
```
:::
::::
## First try: "Emergency alpha"
:::: {.columns}
::: {.column width="50%"}
- works
- updates quickly
- lightweight on devices
- cross-platform
:::
::: {.column width="50%"}
- bandwidth issues detected
- not a native app
- not scalable
:::
::::
## Alpha 2.0
:::: {.columns}
::: {.column width="50%"}
- Used template from Android community.
- e.g.: https://github.com/chi2labs/androidApps
- Quick updates since we're still showing a shiny app
- Playstore distribution
:::
::: {.column width="50%"}
- Requires *some* knowledge of java
- still not scalable
- Android only
:::
::::
## In the wild
```{r echo=FALSE, out.width='100%'}
knitr::include_graphics("./images/example_usage.jpeg")
```
## The research track
```{r concept-count-vs-final-grade, echo=FALSE, message=FALSE, warning=FALSE}
library(tidyverse)
outcome_data <- read_rds(here::here("data","grades_gramatica_2011_2020.rds"))
my_data <- read_rds(here::here("data","my_data_fixed.rds"))
my_data %>%
pivot_longer(c(review_requests, learning_reported)) %>%
ggplot(aes(y=course_grade, x=value, color=name))+
geom_point(key_glyph="path")+
geom_smooth(method = "lm",lty=2, se=FALSE,
key_glyph=NULL)+
scale_y_continuous(breaks = 0:10, labels = 0:10,limits = c(0,10))+
ylab("Course Grade")+
xlab("Concept Count")+
scale_color_discrete(labels = c(learning_reported = "Learning Reported",review_requests = "Review Requests")) +theme_minimal()+
theme(legend.position = "top", legend.title = element_blank())
```
## The research track
- Most distributions are non-normal and some important outliers found in the data. Furthermore grades are on an ordinal scale, therefore:
- Kendall's Tau (rank correlation)
- Ordinal regression
- Encouraging results
- Strong correlation (Tau > .3) found
- Predictive after three weeks use
- Good feedback from instructors
## NLP issues
- Plenty of pretrained models for general and specific purposes (e.g. medical/legal)
- Context of course becomes very specific (invalidating general models)
- Input issues
- Spanish v. English
## Beta 1.0
- True native app with **Flutter**
- Backend moved to Firebase (Google Cloud)
- Authentication by Google
- Analysis in R with plumber API for JIT calculations
- Content recommendations
- Email interface
## Beta 1.0
:::: {.columns}
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("./images2/english_03/X2 Mobile - English (01).png")
```
:::
::: {.column width="50%"}
```{r out.height="90%"}
knitr::include_graphics("./images2/english_03/X2 Mobile - English (09).png")
```
:::
::::
## Beta 1.0
Email integrated {blastula}
```{r}
knitr::include_graphics("./images2/email_report_1.png")
```
## Feedback from instuctors
"It would be nice to have a unified dashboard online with all the information."
--- Prof. Cecilia Magadán
## Instructor dashboard
```{r}
knitr::include_graphics("images/dash_01.png")
```
## Instructor dashboard
```{r}
knitr::include_graphics("images/dash_02.png")
```
## Contact Info
Website:
- https://www.chi2labs.com
Aleksander Dietrichson
John Whitmer
Repos:
- https://github.com/chi2labs
- https://github.com/dietrichson