Estimating a new policy from logged actions
Listing 3.6a: the bandit world, the two policies, the Monte Carlo ground truth and the logger (library code). […]
Listing 3.6a: the bandit world, the two policies, the Monte Carlo ground truth and the logger (library code). […]
All imports used by the experiments are collected at the top of ch03_listings.py: […]
A hospital rolls out a risk-score alert and sees that patients who received the alert had longer stays […]
The recipe has four steps, and none of them touches the predictor’s internals. […]
A model that predicts a hospital stay of 4.1 days is making a claim that is almost certainly […]
The simulators have known truth. Real data do not, and the only available evidence is the labels. Listing […]
A classifier that says “0.92” is making two claims at once: that the case probably belongs to the […]
Accuracy is the fraction of correct decisions. It treats the two kinds of error as equally costly, and […]
If a decision can be made better by more information, how much is the information worth? […]
A prediction does nothing until someone acts on it. […]