loss.biglasso {biglasso} | R Documentation |
Internal biglasso functions
Description
Internal biglasso functions
Usage
loss.biglasso(y, yhat, family, eval.metric, grouped = TRUE)
Arguments
y |
The observed response vector. |
yhat |
The predicted response vector. |
family |
Either "gaussian" or "binomial", depending on the response. |
eval.metric |
The evaluation metric for the cross-validated error and
for choosing optimal |
grouped |
Whether to calculate loss for the entire CV fold
( |
Details
These are not intended for use by users. loss.biglasso
calculates the
value of the loss function for the given predictions (used for cross-validation).
Author(s)
Yaohui Zeng and Patrick Breheny