Description Usage Arguments Value
This function guesses the loss function based on the
type of outcome provided to y
. It chooses from
binary cross-entropy, categorical cross-entropy,
or mean squared error.
1 | to_loss(y)
|
y |
A matrix or vector. The output data. |
A loss function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.