tidymodels / probably

Tools for post-processing class probability estimates
https://probably.tidymodels.org/
Other
115 stars 15 forks source link

update calibration functions so that regression can also be used #75

Closed topepo closed 1 year ago

topepo commented 1 year ago

Open the way for calibration of regression and censored regression models.

In some cases (e.g. cal_apply()), we will need to look at the outcome data to discern what type of calibration is being done and add switches internally to direct the code to the appropriate internal functions. In most other cases, the function name will indicator what they are used for (e.g. cal_*_logistic()).

The internal functions should have something in their name indicating the model of model that is being calibrated (say _cls, _reg, or _cens).

topepo commented 1 year ago

Since we now have S3 methods for cal_adjust() (e.g. cal_adjust.cal_multi()) the changes there are minimal.

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.