Add a ROC Curve to a UI Metadata Set
kf_add_roc(ui_set, roc_file)
ui_set | UI set from |
---|---|
roc_file | Location of coresponding .csv that contains thresholds, FPR, and TPR. |
UI set
#> { #> "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" #> } #> ] #> }