Description Usage Arguments Value Author(s) Examples
LASSO regression is fit using the lars algorithm
1 |
dfTrain |
Data frame for training data. Last column must be the output variable. |
dfTest |
Data frame for test data. Last column must be the output variable. |
normalize |
Default TRUE means the predictors are centered and scaled. Otherwise no transformation. |
The predictions for the test sample
A. I. McLeod
1 2 3 4 5 6 7 8 9 10 11 |
69 72 10 68 25 6 55 26
1.380007 2.073339 1.339053 3.062880 1.811977 0.789856 3.199392 2.073009
73 34
2.665069 1.355079
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.