Description Usage Arguments Value Note See Also
View source: R/predictorElasticNet.R
Wrapper function to perform elastic net regression with cv.glmnet
that trains a model on training set and then predicts on test set for multiple tasks.
1 | predictorElasticNet(patientsTrain, patientsTest, response, alpha = 0.5)
|
patientsTrain |
Matrix of training descriptors, of dimension |
patientsTest |
Matrix of test descriptors, of dimension |
response |
Matrix of observed toxicity values, of dimension |
alpha |
The elasticnet mixing parameter. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.