powered by
generates the code to create the penalized regression model.
rlr_model(data = "datos.aprendizaje", variable.pred = NULL, model.var = "modelo.rlr", cv.var = "cv.glm", alpha = 0, standardize = TRUE)
the name of the learning data.
the name of the variable to be predicted.
the name of the variable that stores the resulting model.
the variable that stores the optimal lambda.
the alpha parameter of the model.
the standardize parameter of the model.
glmnet, cv.glmnet
glmnet
cv.glmnet
# NOT RUN { library(glmnet) x <- rlr_model('iris', 'Petal.Length') exe(x) print(modelo.rlr) # }
Run the code above in your browser using DataLab