7/25
Part 2 of 5 · The best θLearn and do

How much variance the best θ leaves

At the bottom of the U, the variance left depends on one number.

r = np.corrcoef(x, y)[0, 1]
print(round(r ** 2, 4), y_cv.var() / y.var())
Predict

r² is 0.75 on the eight users. What share of the variance does CUPED leave?

Pick one to see what it prints.
Pick an answer above to see the rest