Another fun programming exercise is to do the other direction: have the user come up with a rule, and make the program come up with examples to try to test its hypotheses. (You want the program to generate examples that falsify half the remaining probability-mass.)
Another fun programming exercise is to do the other direction: have the user come up with a rule, and make the program come up with examples to try to test its hypotheses. (You want the program to generate examples that falsify half the remaining probability-mass.)