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
#' @param cv.folds A list containing the cross validation folds
212
-
#' @param return.type If 'mb', only the objective function value is returned. If 'metrics', all metrics are returned. If 'Q', all Q predictions are returned.
212
+
#' @param return.type The type of results to be returned. Several types are possible to suit multiple use cases.
213
+
#' \describe{
214
+
#' \item{`fval`}{Only the objective function value (penalized least squares) is returned; this is useful for the outer optimization for site selection.}
215
+
#' \item{`metrics`}{all performance metrics are returned.}
216
+
#' \item{`metric means`}{the Tukey's biweight robust mean of each metric is returned.}
217
+
#' \item{`Q`}{The predicted flow in each cross-validation run is returned. This is the most basic output, so that you can use it to calculate other metrics that are not provided by the package.}
218
+
#' }
219
+
#' @return A `data.table` containing cross-validation results (metrics, fval, or metric means) for each target.
0 commit comments