1. Explore the controls
Change the inputs and observe the model's response.
Calculate probability of selecting a red token from a mixed bag.
Change the inputs and observe the model's response.
P(red) = red / totalAdjust the controls to obtain the following output. Multiple valid solutions may exist.
Assume each token is equally likely.
Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.