Code
xx1 <- forge(new, x1$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Warning:
! There are new levels in `f`: NA.
i Consider using step_unknown() (`?recipes::step_unknown()`) before `step_dummy()` to handle missing values.
Code
xx1 <- forge(new, x1$blueprint)
Code
xx2 <- forge(new, x2$blueprint)
Code
xx3 <- forge(new, x3$blueprint)
Code
xx1 <- forge(new, x1$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
forge()
will error if required non standard roles are missingCode
forge(iris, x$blueprint)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'Sepal.Width'.
NA
roles are treated as extra roles that are required at forge()
timeCode
forge(iris, x$blueprint)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'Petal.Length'.
forge()
is compatible with hardhat 0.2.0 molded blueprints with a basic recipeCode
forge(new_data, blueprint)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'x'.
forge()
is compatible with hardhat 0.2.0 molded blueprints with a recipe with a nonstandard roleCode
forge(new_data, blueprint)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'id'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.