Estimate Metric
1 | estimate_metric(object, data, target, metric)
|
object |
An object of class 'model_fit'. |
data |
A rectangular data object, such as a data frame. |
target |
The target variable. |
metric |
A metric funtion from the 'yardstick' package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.