# bad args Code recipe(~., data = iris) %>% step_novel(all_predictors()) %>% prep(iris) Condition Error in `step_novel()`: Caused by error in `prep()`: ! All columns selected for the step should be string, factor, or ordered. --- Code recipe(~., data = tr_bad) %>% step_novel(all_predictors()) %>% prep(tr_bad) Condition Error in `step_novel()`: Caused by error in `prep()`: ! Columns already contain the new level: x # printing Code print(ex_3) Output Recipe Inputs: role #variables predictor 5 Operations: Novel factor level assignment for all_predictors() --- Code print(prep(ex_3)) Output Recipe Inputs: role #variables predictor 5 Training data contained 200 data points and no missing data. Operations: Novel factor level assignment for v, w, x, y, z [trained] # empty printing Code rec Output Recipe Inputs: role #variables outcome 1 predictor 10 Operations: Novel factor level assignment for <none> --- Code rec Output Recipe Inputs: role #variables outcome 1 predictor 10 Training data contained 32 data points and no missing data. Operations: Novel factor level assignment for <none> [trained]
Generated by dwww version 1.15 on Wed Jun 26 03:23:36 CEST 2024.