You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Calculates the observation-wise loss via the loss function set in the
228
-
#' [Measure]'s field `obs_loss`.
229
-
#' Returns a `data.table()` with the columns `row_ids`, `truth`, `response` and
230
-
#' one additional numeric column for each measure, named with the respective measure id.
231
-
#' If there is no observation-wise loss function for the measure, the column is filled with
232
-
#' `NA` values.
233
-
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an
234
-
#' additional transformation after aggregation, in this example taking the square-root.
227
+
#' Calculates the observation-wise loss via the [Measure]'s `obs_loss` method.
228
+
#' Returns a `data.table()` with columns from the predictions (e.g., `row_ids`, `truth`, `response`, etc.), plus one numeric column for each measure, named with the respective measure id, and a `resample_result` column.
229
+
#' If there is no observation-wise loss function for the measure, the column is filled with `NA_real_` values.
230
+
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an additional transformation after aggregation, in this example taking the square-root.
#' Calculates the observation-wise loss via the loss function set in the
100
-
#' [Measure]'s field `obs_loss`.
101
-
#' Returns a `data.table()` with the columns `row_ids`, `truth`, `response` and
102
-
#' one additional numeric column for each measure, named with the respective measure id.
103
-
#' If there is no observation-wise loss function for the measure, the column is filled with
104
-
#' `NA` values.
105
-
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an
106
-
#' additional transformation after aggregation, in this example taking the square-root.
99
+
#' Calculates the observation-wise loss via the [Measure]'s `obs_loss` method.
100
+
#' Returns a `data.table()` with the columns of the matching [Prediction] object plus one additional numeric column for each measure, named with the respective measure id.
101
+
#' If there is no observation-wise loss function for the measure, the column is filled with `NA_real_` values.
102
+
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an additional transformation after aggregation, in this example taking the square-root.
#' Calculates the observation-wise loss via the loss function set in the
194
-
#' [Measure]'s field `obs_loss`.
195
-
#' Returns a `data.table()` with the columns of the matching [Prediction] object plus
196
-
#' one additional numeric column for each measure, named with the respective measure id.
197
-
#' If there is no observation-wise loss function for the measure, the column is filled with
198
-
#' `NA` values.
199
-
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an
200
-
#' additional transformation after aggregation, in this example taking the square-root.
193
+
#' Calculates the observation-wise loss via the [Measure]'s `obs_loss` method.
194
+
#' Returns a `data.table()` with an `iteration` column plus one numeric column for each measure, named with the respective measure id.
195
+
#' If there is no observation-wise loss function for the measure, the column is filled with `NA_real_` values.
196
+
#' Note that some measures such as RMSE, do have an `$obs_loss`, but they require an additional transformation after aggregation, in this example taking the square-root.
0 commit comments