Description Usage Arguments Value Note See Also
Similar to other predict
methods, this function predicts fitted values
from a fitted "cv.kmr
" object.
1 2 |
object |
Fitted " |
newx |
Matrix of new values for |
lambda |
Value(s) of the regularization parameter, a single scalar or a
sequence of values, or " |
... |
Not used. Other arguments to predict. |
A matrix of predicted values for the new samples (in rows) and all
tasks (in columns), corresponding to the regularization parameter
lambda
. If lambda
is a list of specified values, the function
returns a list of matrices, corresponding to the predictions for the different
values of lambda
in the list. If lambda
is "lambda.opt
",
a single matrix returned too.
Note that "lambda.opt
" will allow different lambdas for each task tuned
by cross-validation; otherwise, specified value(s) of lambda will be fixed for all tasks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.