Description Usage Arguments Details Value Examples
View source: R/kf_add_metric.R
Adds on to an existing metric set and checks values are formatted correctly.
1 | kf_add_metric(metric_set, name, value, format)
|
metric_set |
Metric set from |
name |
Name of metric. |
value |
Value of metric. Must be numeric. |
format |
Format to display metric in Kubeflow. Must be either RAW or PERCENTAGE. |
You can repeatedly chain this function to iteratively build up a pipeline metrics output.
Metric set
1 2 3 4 | # Create ROC AUC and PR AUC output
kf_init_metrics() %>%
kf_add_metric("roc-auc", .75, "RAW") %>%
kf_add_metric("pr-auc", .45, "RAW")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.