tests/testthat/_snaps/ordinalscore.md

bad spec

Code
  prep(rec3, training = ex_dat, verbose = FALSE)
Condition
  Error in `step_ordinalscore()`:
  Caused by error in `prep()`:
  x All columns selected for the step should be ordered.
  * 1 double variable found: `numbers`
  * 1 factor variable found: `fact`

empty printing

Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Operations 
  * Scoring for: <none>
Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Training information 
  Training data contained 32 data points and no incomplete rows.

  -- Operations 
  * Scoring for: <none> | Trained

printing

Code
  print(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Operations 
  * Scoring for: starts_with("ord")
Code
  prep(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Training information 
  Training data contained 20 data points and no incomplete rows.

  -- Operations 
  * Scoring for: ord1, ord2, ord3 | Trained


topepo/recipes documentation built on April 10, 2024, 10:30 p.m.