predict.sparsestep: Make predictions from a SparseStep model
Description
Predicts the outcome variable for the SparseStep model for
each value of lambda supplied to the model.
Usage
# S3 method for sparsestep
predict(object, newx, ...)
Arguments
object
Fitted sparsestep object
newx
Matrix of new values for x at which predictions are to
be made.
…
further argument are ignored
Value
a matrix of numerical predictions of size nobs x nlambda
References
Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017).
SparseStep: Approximating the Counting Norm for Sparse Regularization,
arXiv preprint arXiv:1701.06967 [stat.ME].
URL https://arxiv.org/abs/1701.06967.