# NOT RUN {
# See the blueprint specific documentation linked above
# for various ways to call forge with different
# blueprints.
train <- iris[1:100,]
test <- iris[101:150,]
# Formula
processed <- mold(
log(Sepal.Width) ~ Species,
train,
blueprint = default_formula_blueprint(indicators = "none")
)
forge(test, processed$blueprint, outcomes = TRUE)
# }
Run the code above in your browser using DataLab