Description Usage Arguments Value
This function performs a single step of gradient descent on the weight vector for the super learner weights and projects the resulting vector onto the L1-simplex via the internal function .projToL1Simp. The function returns the updated weight vector.
1 2 | sgdWt_convexLinComBounded(Y, slFit.t, p.t, tplus1, stepSize = NULL, lower,
upper)
|
Y |
The outcome at iteration t |
slFit.t |
A named list with a component named alpha.t that contains the 1-column matrix of current estimate of the super learner weights |
p.t |
The predictions from the various online algorithms at time t |
tplus1 |
The iteration of the online algorithm |
stepSize |
The size of the step to take in the direction of the
gradient. If |
alpha A matrix of updated weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.