Skip to content

Commit

Permalink
remove outdated todos
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jun 4, 2024
1 parent 2c3070c commit dde5f44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion R/adjust-numeric-calibration.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#' predict(reg_tailor_trained, dat)
#' @export
adjust_numeric_calibration <- function(x, method = NULL) {
# to-do: add argument specifying `prop` in initial_split
check_tailor(x, calibration_type = "numeric")
# wait to `check_method()` until `fit()` time
if (!is.null(method)) {
Expand Down
2 changes: 0 additions & 2 deletions R/adjust-probability-calibration.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#' [probably::cal_estimate_multinomial()], etc., respectively.
#' @export
adjust_probability_calibration <- function(x, method = NULL) {
# to-do: add argument specifying `prop` in initial_split
check_tailor(x, calibration_type = "probability")
# wait to `check_method()` until `fit()` time
if (!is.null(method)) {
Expand Down Expand Up @@ -49,7 +48,6 @@ fit.probability_calibration <- function(object, data, tailor = NULL, ...) {
method <- check_method(object$method, tailor$type)
# todo: adjust_probability_calibration() should take arguments to pass to
# cal_estimate_* via dots
# to-do: add argument specifying `prop` in initial_split
fit <-
eval_bare(
call2(
Expand Down

0 comments on commit dde5f44

Please sign in to comment.