log_residuals_to_run() logs the data needed to display a histogram
of residuals for a regression task. The residuals are predicted - actual.
There should be one more edge than the number of counts.
log_residuals_to_run(name, value, description = "", run = NULL)
| name | A string of the name of the metric. |
|---|---|
| value | A named list containing name, version, and data properties. |
| description | (Optional) A string of the metric description. |
| run | The |
None
data <- list("bin_edges" = c(50, 100, 200, 300, 350),
"bin_counts" = c(0.88, 20, 30, 50.99))
residuals <- list("schema_type" = "residuals",
"schema_version" = "v1",
"data" = data)
log_predictions_to_run("myresiduals", predictions)