Description Usage Arguments Value Examples
View source: R/loss_functions.R
Pick one of the loss functions from the package.
| 1 | create_loss_func(loss)
 | 
| loss | Character vector length one specifying which loss function you want. | 
Returns a function that has two arguments prediction (Numeric
vector same length as actual), and actual (Numeric vector same
length as prediction), and returns a Numeric vector length one.
| 1 | create_loss_func("log_lik")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.