A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Bayes Sensor Worksheet | ||||||||||||||||||||||||||||||||
2 | If you're not a math person, sometimes it helps to think about this in words. This worksheet should help you get a good sensor. | ||||||||||||||||||||||||||||||||
3 | Change the values in Yellow and Green for your sensor. | ||||||||||||||||||||||||||||||||
4 | Values in Blue and Red are auto calculated | ||||||||||||||||||||||||||||||||
5 | |||||||||||||||||||||||||||||||||
6 | Determine your Prior | ||||||||||||||||||||||||||||||||
7 | State | Description | Hours Per Day | ||||||||||||||||||||||||||||||
8 | On | House is Occupied | 14 | ||||||||||||||||||||||||||||||
9 | Off | House is Empty | 10 | ||||||||||||||||||||||||||||||
10 | Probability threshold | 0.8 | |||||||||||||||||||||||||||||||
11 | Prior | 0.58 | Result | ||||||||||||||||||||||||||||||
12 | Probability | 0.97 | on | ||||||||||||||||||||||||||||||
13 | |||||||||||||||||||||||||||||||||
14 | This is whether the condition is TRUE (in the "to_state") or the value_template evaluates to TRUE | ||||||||||||||||||||||||||||||||
15 | Posterior | Sensor | State | Description | Hours | prob_given_true | Description | Hours | prob_given_false | Prior | Predicate | Posterior | 0.58 | ||||||||||||||||||||
16 | 0.58 | TV On | FALSE | Out of the 14 hours when House is Occupied. How often is TV On true? | 4 | 0.29 | Out of the 10 hours when House is Empty. How often is TV On true? | 0.1 | 0.01 | 0.58 | 1.67 | 0.58 | |||||||||||||||||||||
17 | 0.50 | TF Off | TRUE | Out of the 14 hours when House is Occupied. How often is TF Off true? | 10 | 0.71 | Out of the 10 hours when House is Empty. How often is TF Off true? | 9.9 | 0.99 | 0.58 | 0.86 | 0.50 | |||||||||||||||||||||
18 | 0.96 | Lights on | TRUE | Out of the 14 hours when House is Occupied. How often is Lights on true? | 3 | 0.21 | Out of the 10 hours when House is Empty. How often is Lights on true? | 0.1 | 0.01 | 0.50 | 1.90 | 0.96 | |||||||||||||||||||||
19 | 0.96 | Lights off | FALSE | Out of the 14 hours when House is Occupied. How often is Lights off true? | 10 | 0.71 | Out of the 10 hours when House is Empty. How often is Lights off true? | 9.9 | 0.99 | 0.96 | 0.98 | 0.96 | |||||||||||||||||||||
20 | 0.97 | Car Home | TRUE | Out of the 14 hours when House is Occupied. How often is Car Home true? | 10 | 0.71 | Out of the 10 hours when House is Empty. How often is Car Home true? | 4 | 0.4 | 0.96 | 1.02 | 0.97 | |||||||||||||||||||||
21 | 0.97 | Car Away | FALSE | Out of the 14 hours when House is Occupied. How often is Car Away true? | 6 | 0.43 | Out of the 10 hours when House is Empty. How often is Car Away true? | 6 | 0.6 | 0.97 | 0.99 | 0.97 | |||||||||||||||||||||
22 | |||||||||||||||||||||||||||||||||
23 | You can "drag-fill" to add more entities | ||||||||||||||||||||||||||||||||
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 |