| srlars_ensemble_predict | R Documentation |
Averages the per-model linear predictions of an srlars-style fit list
(coefficients, intercepts) over a design matrix X. Used by
cv.srlars to score candidate max_share values without going through
predict.srlars (which expects a full srlars object, not an intermediate
candidate fit).
srlars_ensemble_predict(X, fit)
X |
Design matrix. |
fit |
A list with components |
Numeric vector of ensemble-averaged predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.