Predicted values for the response given a new input matrix Xnew, based on a lass0
fit.
# S3 method for lass0
predict(object, Xnew, ...)
a "lass0"
object
a new input matrix whose number of columns equals the number of coefficients returned in obj
.
further arguments passed to or from other methods.
vector of predictions
Descloux, P., & Sardy, S. (2018). Model selection with lasso-zero: adding straw to the haystack to better find needles. arXiv preprint arXiv:1805.05133. https://arxiv.org/abs/1805.05133