Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
predictor: 56
-- Training information
Training data contained 1817 data points and no incomplete rows.
-- Operations
* Sparse PCA extraction with: angle_ch_1 and area_ch_1, ... | Trained
Code
prep(rec, training = dat)
Condition
Error in `step_pca_sparse()`:
Caused by error in `bake()`:
! Name collision occurred. The following variable names already exist:
* `PC1`
Code
bake(rec_trained, new_data = tr[, -3])
Condition
Error in `step_pca_sparse()`:
! The following required column is missing from `new_data`: avg_inten_ch_1.
Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Operations
* No Sparse PCA components were extracted from: <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
* No Sparse PCA components were extracted from: <none> | Trained
Code
rec <- prep(rec)
Condition
Warning:
`keep_original_cols` was added to `step_pca_sparse()` after this recipe was created.
i Regenerate your recipe to avoid this warning.
Code
print(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Operations
* No Sparse PCA components were extracted from: all_predictors()
Code
prep(rec)
Condition
Warning in `irlba::ssvd()`:
no sparsity constraints specified
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
* Sparse PCA extraction with: cyl, disp, hp, drat, wt, qsec, ... | Trained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.