| new_loss | R Documentation |
Internal helper for constructing loss function objects.
new_loss(name, fn, parameters = list())
name |
A character string specifying the loss name. |
fn |
A function that computes the loss from observed and predicted values. |
parameters |
A list of loss-specific parameters. |
An object of class "met_loss".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.