Code
prep(rec, training = dat)
Condition
Error in `step_spline_convex()`:
Caused by error in `bake()`:
! Name collision occurred. The following variable names already exist:
* `mpg_01`
Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Operations
* Convex spline expansion: <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
* Convex spline expansion: <none> | Trained
Code
print(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 5
-- Operations
* Convex spline expansion: carbon and hydrogen
Code
prep(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 5
-- Training information
Training data contained 536 data points and no incomplete rows.
-- Operations
* Convex spline expansion: carbon and hydrogen | Trained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.