.loss | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.