helboukkouri commited on
Commit
75c336c
·
1 Parent(s): 9826944

update text

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -206,8 +206,8 @@ with gr.Blocks(css=css) as demo:
206
  If you are curious about how to compute the probability of event that at NOT disjoint, this can also be achieved with a simple calculation.
207
 
208
  When events are `not disjoint`, there is, included in the probability of each event, the probability that both events happen at the same time.
209
- To correct for this we need to subtract this probability of the `intersection` of the two events from the sum of their probabilities.
210
- $$\text{For any Events A and B:} \quad P(\text{Event A} \cup \text{Event B}) = P(\text{Event A}) + P(\text{Event B}) - P(\text{Event A} \cap \text{Event B}) $$
211
 
212
  Where the `intersection` of two events is the event that `both happen at the same time`, denoted as `A ∩ B`.
213
  """
 
206
  If you are curious about how to compute the probability of event that at NOT disjoint, this can also be achieved with a simple calculation.
207
 
208
  When events are `not disjoint`, there is, included in the probability of each event, the probability that both events happen at the same time.
209
+ To correct for this, and not count it twice, we need to subtract this probability from the total:
210
+ $$\text{For any Events A and B:} \quad P(A \cup B) = P(A) + P(B) - P(A \cap B) $$
211
 
212
  Where the `intersection` of two events is the event that `both happen at the same time`, denoted as `A ∩ B`.
213
  """