Lay the foundational elements of the JSON expected by Kubeflow to provide metrics from your components.

kf_init_metrics()

Value

A list

Examples

metrics <- kf_init_metrics() kf_add_metric(metrics, "roc", .5, "RAW")
#> { #> "metrics": [ #> { #> "name": "roc", #> "numberValue": 0.5, #> "format": "RAW" #> } #> ] #> }