Add a ROC Curve to a UI Metadata Set

kf_add_roc(ui_set, roc_file)

Arguments

ui_set

UI set from kf_init_ui_meta() or a previious call of this type of function.

roc_file

Location of coresponding .csv that contains thresholds, FPR, and TPR.

Value

UI set

Examples

kf_init_ui_meta() %>% kf_add_roc("gs://project-bucket/roc_file.csv")
#> { #> "outputs": [ #> { #> "type": "roc", #> "format": "csv", #> "schema": [ #> { #> "name": "thresholds", #> "type": "NUMBER" #> }, #> { #> "name": "fpr", #> "type": "NUMBER" #> }, #> { #> "name": "tpr", #> "type": "NUMBER" #> } #> ], #> "source": "gs://project-bucket/roc_file.csv" #> } #> ] #> }