Skip to content

Commit 4663add

Browse files
authored
Fix format of table, removed HTML comments, format newlines
1 parent bf3e378 commit 4663add

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

vignettes/social_loss_vignette/readme.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -223,38 +223,36 @@ $$\text{Feedback history, } t_{\text{message}} \text{ and } N_{\text{received}}$
223223
$$\text{Individual feedack preferences, } F_{\text{pref}}$$
224224

225225
The overall algortihm can be represented as:
226-
$$F_{\text{pref}} \biggl( C_{\text{data}} \Bigl( X_s \| \Delta_{\text{performance}} \| \Bigr)\Bigl( X_{gs} \| G_{\text{performance}} \| \Bigr) \\
226+
$$F_{\text{pref}} \biggl[ C_{\text{data}} \Bigl( X_s \| \Delta_{\text{performance}} \| \Bigr)\Bigl( X_{gs} \| G_{\text{performance}} \| \Bigr) \\
227227
+ \\
228-
C_{\text{history}} \Bigl( (X_e \cdot t_{\text{event}}) + (X_m \cdot t_{\text{message}}) + (X_N \cdot N_{\text{received}}) \Bigr) \biggr)$$
228+
C_{\text{history}} \Bigl( \bigl(X_e \cdot t_{\text{event}}\bigr) + \bigl(X_m \cdot t_{\text{message}}\bigr) + \bigl(X_N \cdot N_{\text{received}}\bigr) \Bigr) \biggr]$$
229229

230230
<!-- No changes need to be made below this line when propagating to new vignettes-->
231231
The Esteemer algorithm uses weighting coefficients, which vary based on the particularities of each causal pathway. For the social loss causal pathway, the weighting coefficients are:
232-
|--------------------|-|-|-|-|-|-|-|
233-
|**Moderator** |G<sub>performance</sub>|Δ<sub>performance</sub>|t<sub>event</sub>|t<sub>message</sub>|N<sub>received</sub>|Data component|History component|
234-
|**Coefficient Term**|X<sub>gs</sub>|X<sub>s</sub>|X<sub>e</sub>|X<sub>m</sub>|X<sub>N</sub>|C<sub>data</sub>|C<sub>history</sub>|
235-
|**Value** |0.5 |0.5 |0.5 |0.5 |0.5 |1 |1|
232+
233+
| Moderator | G<sub>performance</sub> | Δ<sub>performance</sub> | t<sub>event</sub> | t<sub>message</sub> | N<sub>received</sub> | Data component | History component |
234+
|--------------------|-------------------------|-------------------------|-------------------|---------------------|----------------------|----------------|-------------------|
235+
| Coefficient Term | X<sub>gs</sub> | X<sub>s</sub> | X<sub>e</sub> | X<sub>m</sub> | X<sub>N</sub> |C<sub>data</sub>|C<sub>history</sub>|
236+
| Value | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 1 | 1 |
237+
236238
<!-- Values above need to be changed for each causal pathway -->
237239

238-
As an example, the appropriate values for the evaluation of Alice's **Candidate B** message are filled in below:
239-
$$F_{\text{pref}} \biggl( 1 \Bigl( 0.5 \| 6 \| \Bigr)\Bigl( 0.5 \| 5 \| \Bigr) + 1 \Bigl( (0.5 \cdot 12) + (0.5 \cdot 12) + (0.5 \cdot 0) \Bigr) \biggr) = (19.5)F_{\text{pref}}$$
240+
241+
As an example, appropriate values based on this vignette are filled in for Alice's **Candidate B** message, and evaluate like so:
242+
$$F_{\text{pref}} \biggl( 1 \Bigl( 0.5 \| 6 \| \Bigr)\Bigl( 0.5 \| 5 \| \Bigr) + 1 \Bigl( (0.5 \cdot 12) + (0.5 \cdot 12) + (0.5 \cdot 0) \Bigr) \biggr) = (19.5)F_{\text{pref}}$$
240243
Bob's acceptable social loss candidate evaluates similarly:
241-
$$F_{\text{pref}} \biggl( 1 \Bigl( 0.5 \| 7 \| \Bigr)\Bigl( 0.5 \| 1 \| \Bigr) + 1 \Bigl( (0.5 \cdot 12) + (0.5 \cdot 12) + (0.5 \cdot 0) \Bigr) \biggr) = (13.75)F_{\text{pref}}$$
244+
$$F_{\text{pref}} \biggl( 1 \Bigl( 0.5 \| 7 \| \Bigr)\Bigl( 0.5 \| 1 \| \Bigr) + 1 \Bigl( (0.5 \cdot 12) + (0.5 \cdot 12) + (0.5 \cdot 0) \Bigr) \biggr) = (13.75)F_{\text{pref}}$$
242245
<!-- Equations above need to be re-evaluated for each causal pathway -->
243246

244247
Of note, each persona has more than one measure's worth of data, therefore for each persona there are potentially many acceptable candidates, utilizing different causal pathways regarding different measures. Esteemer evaluates each acceptable candidate measure with differing coefficient weights depending on the causal pathway.
245248

246-
The final result of evaluating all of Alice's acceptable candidates are:
247-
- Social loss: 19.5 F<sub>pref</sub>
248-
- Social better: X F<sub>pref</sub>
249-
- Goal approach: X F<sub>pref</sub>
250-
<!-- Old text below:
251-
**For Bob, Esteemer uses the following information:** - WIP
252-
- The only acceptable candidate message is **Candidate α**
253-
- Bob's preference for social loss messages is *Todo*
254-
- Bob has not recieved the **Candidate α** message recently.
255-
> ∴ Esteemer will select **Candidate α** as the most appropriate message to provide the recipient.
256-
257-
For each of the selected messages, Eseemer will return the template ID, message text, comparator type, acceptability relationship, measure name, title, and display type preferred by the recipient. This data is used in the next step of the pipeline to generate the precision feedback message. -->
249+
The final result of evaluating all of Alice's acceptable candidates are:<br>
250+
Social loss: 19.5 F<sub>pref</sub>
251+
Social better: X(>19) F<sub>pref</sub>
252+
Goal approach: X(>19) F<sub>pref</sub>
253+
∴ Esteemer will select the social loss message candidate as the most appropriate message to provide the recipient.
254+
255+
<!-- Old outro text: For each of the selected messages, Eseemer will return the template ID, message text, comparator type, acceptability relationship, measure name, title, and display type preferred by the recipient. This data is used in the next step of the pipeline to generate the precision feedback message. -->
258256

259257
### Message Generation and Delivery (Pictoralist)
260258
The fifth and final stage of the pipeline generates visual representations of the selected message based on the recipient's performance data, and sends this output off for delivery to the recipient.

0 commit comments

Comments
 (0)