Description Usage Arguments Examples
A train function for the model ridgereg
1 2 3 |
lambda |
Your lambda values. A numeric vector |
cross_val |
False or True |
fold_count |
If cross_val=TRUE. Then how many values will it fold. |
repeat_count |
If cross_val=TRUE. Then how many times will it be cross-validation. |
data |
Your data. If data=NULL the data BostonHousing is used |
formula |
Your formula. If formula=NULL the formula tax ~ zn + indus + rad + medv is used |
set_seed |
Your seed. If set_seed=NULL then is no seed used. |
p |
The proportion of trainging and test if BostonHousing data is used |
normalize |
Normalize or not. |
1 2 | #library(Lab7SpaghettiBolognese)
#ridgereg_train(seq(0,100,10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.