prediction_performance | R Documentation |
Extract the prediction performance of one or more (adaptive) PENSE fits.
prediction_performance(..., alpha = NULL, lambda = "min", se_mult = 1)
## S3 method for class 'pense_pred_perf'
print(x, ...)
... |
one or more (adaptive) PENSE fits with cross-validation information. |
alpha |
Either a numeric vector or |
lambda |
either a string specifying which penalty level to use
( |
se_mult |
If |
x |
an object with information on prediction performance created with |
If lambda = "se"
and the cross-validation was performed with multiple replications, use the penalty level whit
prediction performance within se_mult
of the best prediction performance.
a data frame with details about the prediction performance of the given PENSE fits. The data frame has a custom print method summarizing the prediction performances.
summary.pense_cvfit()
for a summary of the fitted model.
Other functions for plotting and printing:
plot.pense_cvfit()
,
plot.pense_fit()
,
summary.pense_cvfit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.