| as_loss | R Documentation |
Converts a character string such as "mse" into the corresponding loss
function object.
as_loss(loss)
loss |
A character string or an object of class |
An object of class "met_loss".
as_loss("mse")
as_loss(loss_huber(delta = 1.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.