Description Usage Arguments Value
View source: R/loss_functions.R
Returns the penalty of order p for a polygram object.
1 | penalty(polygram_object, p = 0)
|
polygram_object |
A polygram object. |
p |
Derivative. Only supported for p = 0 right now. |
The pth penalty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.