Description Usage Arguments Value Details Author(s)
View source: R/prediction.result2.R
Internal lassoenet functions
1 2 3 4 | prediction.split.result(best.lasso.result = best.lasso.result,
best.EN.result = best.EN.result, data = data, x.indices = x.indices,
response = response, alph = alph, splits = splits,
parallel = parallel)
|
best.lasso.result |
A vector contains the outputs from the function |
best.EN.result |
A vector contains the outputs from the function |
data |
A well-cleaned |
x.indices |
Locations of the predictors within the |
response |
Location of the response within the |
alph |
An internal argument. |
splits |
A two element vector with the first element being the training proportion and the second element being the testing proportion. |
parallel |
Parallelsation. |
A vector of outputs and some plots related to the best model.
These are not intended for use by users.
This function provides an automatic comparison between the Lasso and the Elastic Net model based on the user's preferred prediction metric. The return from this function will then enter the penalised_pred
function.
Mokyo Zhou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.