Description Usage Arguments Details Value See Also Examples
View source: R/predict.cv.fwelnet.R
This function returns the predictions for a new data matrix from a
cross-validated fwelnet
model by using the stored "glmfit
"
object and the optimal value chosen for lambda
.
1 2 |
object |
Fitted " |
xnew |
Matrix of new values for |
s |
Value of the penalty parameter |
... |
Other arguments to be passed to |
This function makes it easier to use the results of cross-validation to make a prediction.
Predictions which the cross-validated model makes for xnew
at
the optimal value of lambda
. Note that the default is the "lambda.1se" for lambda,
to make this function consistent with cv.glmnet
in the glmnet
package.
cv.fwelnet
and predict.fwelnet
.
1 2 3 4 5 6 7 8 9 10 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.