Description Usage Arguments Value Details Author(s)
Internal lassoenet function
1 2 3 |
err.curves |
The number of error curves to be fitted. Default is 0. |
x.train |
A |
y.train |
A vector of response values on the training set. |
x.test |
A |
y.test |
A vector of response values on the testing set. |
step.size |
The step size of the alpha sequence. |
type.lambda |
Either "lambda.min" or "lambda.1se", default is "lambda.min. |
parallel |
Parallelisation |
A vector of results for the best Elastic Net model under the condition where the full dataset has been splitted into a training and a testing set. The return from this function will enter prediction_ElasticNet
.
These are not intended for use by users. This function is one of the main engines for the Elastic Net computation. This function is used when the user would like to split the dataset into
a training and a test set. This together with the function en.robust.split
forms the computation operator for the Elastic Net when using the a traning and a testing set. The return from this function will enter prediction_ElasticNet
for futher wrapping.
Mokyo Zhou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.