Skip to content

Commit

Permalink
document equivocal zone subclass (closes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Dec 11, 2024
1 parent 09995d6 commit b6ddea4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions R/adjust-equivocal-zone.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
#' this adjustment just collects metadata on the supplied column names and does
#' not risk data leakage.
#'
#' @details
#' This function transforms the class prediction column `estimate` to have type
#' `class_pred` from [probably::class_pred()]. You can loosely think of this
#' column type as a factor, except there's a possible entry `[EQ]` that is
#' _not_ a level and will be excluded from performance metric calculations.
#' As a result, the output column has the same number of levels as the input,
#' except now has a possible entry `[EQ]` that tidymodels funcitons know to
#' exclude from further analyses.
#'
#' @examplesIf rlang::is_installed(c("probably", "modeldata"))
#' library(dplyr)
#' library(modeldata)
Expand Down
9 changes: 9 additions & 0 deletions man/adjust_equivocal_zone.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6ddea4

Please sign in to comment.