-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial sketch of grouped support for estimates * Creates custom group splitting function to create a list of data frame section that then get processed by the model iteratively * Finalizes estimate object * Adds support for new cal_object structure in cal_apply() * Adds support to modify the prediction * Adds tune_result method to logistic estimator * Adds method for tune_results for cal_apply() * Corrects the target prediction column name * Adds support for dplyr groups and tune_results object to isotonic estimator * Adds support for tune_results object to cal_apply() w/o breaking current functionality * Adds support for tune_results on bootstrapped Isotonic * Simplifies isoreg implementation functions, and standarizes their names * Consolidates bootstrapped estimation isotonic functions * Flips order of levels to be first dplyr group, and then the estimates for boot isotonic * cal_apply() now works with isotonic boot and non-boot, for df's and tune results objects * Passes checks * Adds grouping support for beta, splits estimate methods into their own script * Adds support for tune_results to beta * Fixes as_name() for tune_results, updates tests, moves count for tune_results to helper function * Adds tune_results tests for cal_apply() * Updates help, ver bump, updates news, and some styler updates * - Removes threshold from cal_apply() - Adds parameters argument, and passes it to collect_predictions() - Renames `predictions` argument to `pred_class` * Adds exception for when using parameters on data.frames * Creates centralized function to process validations, adds validation for logistic models * Adds custom pillar type_sum for calibrations * Adds summarization argument * Adds validator for isotonic * Adds beta, fixes docs, passes checks * Adds tests * Adds examples, ver bump, NEWS item * Adds yardstick dev dep * Update R/cal-validate.R Co-authored-by: Max Kuhn <[email protected]> * Update R/cal-validate.R Co-authored-by: Max Kuhn <[email protected]> * Adds isotonic boot validation, separates documentation for each validation method, adds rdname to rset methods * Fixes param references * Adds direction to stats tibble output * Makes summarized results tidy * Adds save_details argument, updates tests * Adds cal_validate_summarize() * Centralizes pred_class update, adds step to validation column * Adds note about tune_results * update docs Co-authored-by: Max Kuhn <[email protected]>
- Loading branch information
1 parent
19907f7
commit 5b0b59d
Showing
13 changed files
with
821 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: probably | ||
Title: Tools for Post-Processing Class Probability Estimates | ||
Version: 0.1.0.9004 | ||
Version: 0.1.0.9005 | ||
Authors@R: c( | ||
person("Max", "Kuhn", , "[email protected]", role = c("aut", "cre")), | ||
person("Davis", "Vaughan", , "[email protected]", role = "aut"), | ||
|
@@ -23,11 +23,12 @@ Imports: | |
rlang (>= 1.0.4), | ||
tidyselect (>= 1.1.2), | ||
vctrs (>= 0.4.1), | ||
yardstick (>= 1.0.0), | ||
yardstick (> 1.1.0), | ||
betacal, | ||
ggplot2, | ||
butcher, | ||
tibble, | ||
pillar, | ||
withr, | ||
purrr, | ||
tune, | ||
|
@@ -52,3 +53,5 @@ Encoding: UTF-8 | |
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 | ||
Remotes: | ||
tidymodels/yardstick@5f1b9ce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.