Skip to contents

Describe a tailor's adjustments in a tibble with one row per adjustment.

Usage

# S3 method for class 'tailor'
tidy(x, number = NA, ...)

Arguments

x

A tailor() object.

number

Optional. A single integer between 1 and the number of adjustments.

...

Currently unused; must be empty.

Value

A tibble containing information about the tailor's adjustments including their ordering, whether they've been trained, and whether they require training with a separate calibration set.

Examples

tailor() |>
  adjust_numeric_range(lower_limit = 1) |>
  tidy()
#> # A tibble: 1 × 9
#>   number name   input output_numeric output_prob output_class output_all trained
#>    <int> <chr>  <chr> <lgl>          <lgl>       <lgl>        <lgl>      <lgl>  
#> 1      1 numer… nume… TRUE           FALSE       FALSE        FALSE      FALSE  
#> # ℹ 1 more variable: requires_training <lgl>