What problem does it solve?
This Skill standardizes preprocessing workflows for R modeling packages, ensuring consistent handling of formula, XY, and recipe inputs during training and prediction.
Core Features & Use Cases
- Standardized preprocessing with mold() for training data and forge() for prediction data.
- Support for formula, XY, and recipe interfaces with interchangeable blueprints for consistent interfaces.
- Tools for creating model constructors, spruce formatting for outputs, and validation hooks to ensure data integrity.
- Use Case: Develop a modeling package that requires reproducible preprocessing across training and deployment pipelines.
Quick Start
Install and attach the hardhat package, then run a basic mold() workflow to preprocess training data and a subsequent forge() call for new data using a blueprint.