tailor

Iterative Steps for Postprocessing Model Predictions

Postprocessors refine predictions outputted from machine learning models to improve predictive performance or better satisfy distributional limitations. This package introduces 'tailor' objects, which compose iterative adjustments to model predictions. A number of pre-written adjustments are provided with the package, such as calibration. See Lichtenstein, Fischhoff, and Phillips (1977) <doi:10.1007/978-94-010-1276-8_19>. Other methods and utilities to compose new adjustments are also included. Tailors are tightly integrated with the 'tidymodels' framework.

Tests Vignettes

Available Snapshots

This version of tailor can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (10)
  • R
  • cli
  • dplyr
  • generics
  • hardhat
  • purrr
  • rlang >= 1.1.0
  • tibble
  • tidyselect
  • vctrs
  • Suggests (5)
  • betacal
  • dials >= 1.4.1
  • modeldata
  • probably
  • testthat >= 3.0.0
  • Version History