| Algorithm 2: Super Learner |
|---|
| * For each algorithm k: |
| * Perform V-fold cross validation, obtaining cross-validated predicted values Zk; |
| * Fit on full data O, obtaining ; |
| * Index a proposed family of convex combinations of the k algorithms by α; |
| * Select to minimize E0L(O, Ψ(P)), which can be shown is solved by estimating: |
| logit(P̂(Y = 1|Z)) =α1Z1 + ... + αkZk; |
| * Save , the final estimator of Ψ(P0) = P0(Y = 1|C), constructed as: |
| . |
Note: The entire super learner algorithm above is itself externally cross-validated to obtained cross-validated performance metrics.