Description Usage Arguments Value Author(s)
Compute log-likelihood of iregnet predictions, used to compute the surrogate loss on the validation set in cross-validation (cv.iregnet).
1 | compute.loglik(y.mat, pred.mean, pred.scale, family)
|
y.mat |
numeric matrix of output variables (n x 2) |
pred.mean |
numeric matrix of mean parameters (predicted values, n x p) |
pred.scale |
numeric matrix of scale parameters (n x p) |
family |
gaussian, logistic |
numeric matrix of log-likelihood values (n x p)
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.