hardhat
Developer toolkit for building consistent modeling packages in R
hardhat keeps adding the contracts tidymodels needs next
◆Recent moves
- 4mo ago
mold() warning and quantile missing-value fixes
Silences a spurious strings_as_factors warning on recipe objects and improves missing handling in quantile predictions. Cleanup on the quantile work introduced in 1.4.1.
View source ↗ - 11mo ago
extract_tailor() generic added
Another extraction contract for the rest of tidymodels to implement, this time for tailor objects. Small in isolation, but it is how postprocessing becomes reachable from a fitted workflow.
View source ↗ - 1y ago
quantile_pred() class for quantile regression output
Adds the vector class that quantile predictions travel in, and moves errors onto cli. This is the contract parsnip's quantile-regression support is built on — the capability shows up downstream, not here.
View source ↗ - 2y ago
extract_postprocessor() and extract_fit_time() generics
Two more generics defined ahead of their consumers, including the first postprocessing hook. Consistent with hardhat's pattern of landing the contract before the feature.
View source ↗ - 2y ago
Documentation topic renamed at CRAN's request
A documentation rename with no code change.
View source ↗ - 3y ago
Multi-outcome prediction helpers and one-hot factor encoding
Adds the spruce_*_multiple() family for standardising multi-outcome predictions and fct_encode_one_hot(), plus strings_as_factors control on the recipe blueprint. Broadens what preprocessing blueprints can express.
View source ↗