.loss {starnet} | R Documentation |
Calculate loss from predicted and observed values
.loss(y, x, family, type.measure, foldid = NULL, grouped = TRUE)
y |
observed values:
numeric vector of length |
x |
predicted values:
numeric vector of length |
family |
character |
type.measure |
character |
foldid |
fold identifiers:
integer vector of length |
grouped |
logical (for |
NA