Description Usage Arguments Value Note See Also
View source: R/predictorLasso.R
Wrapper function to perform lasso regression with cv.glmnet
that trains a model on training set and then predicts on test set for multiple tasks.
1 | predictorLasso(patientsTrain, patientsTest, response)
|
patientsTrain |
Matrix of training descriptors, of dimension |
patientsTest |
Matrix of test descriptors, of dimension |
response |
Matrix of observed toxicity values, of dimension |
A matrix of predicted toxicity values, of dimension m x t
, for the m
test patients responding to the t
drugs.
Prediction is made per task with no special treatment for multitask learning, nor are task features needed.
cv.glmnet
, lasso implements a special case of elastic net predictorElasticNet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.