orbital
Turn Tidymodels Workflows Into Series of Equations
Turning fitted tidymodels into SQL, one model family at a time — and the boosting engines just landed.
◆Recent moves
- 1mo ago
Snowflake-compatible SQL for dummy and NA steps
step_dummy() and step_indicate_na() now emit SQL that works on Snowflake and other databases that refuse a direct boolean-to-numeric cast. Adds estimate_orbital_size() to predict an expression's character count without generating it, which matters because generated SQL for tree ensembles can get unwieldy.
View source ↗ - 5mo ago
catboost, lightgbm, ranger and four more model families translate to SQL
⚡ SPARKThe coverage release that brings the models teams actually deploy into scope: catboost and lightgbm boosted trees, rpart decision trees, earth MARS, glmnet multinomial regression, and randomForest and ranger forests, across numeric, class, and probability predictions. A separate_trees argument gives tree ensembles a way to manage the size of the generated expression.
View source ↗ - 8mo ago
Compatibility with new xgboost versions
A single-line release restoring compatibility with newer xgboost releases. Routine upstream tracking of the kind a translation layer accumulates.
View source ↗ - 8mo ago
Post-processing adjustments from tailor become translatable
Extends translation past the model itself to the tailor package's post-processing — equivocal zones, numeric range clamping, probability thresholds, and custom prediction adjustments — plus their workflow integration. A show_query() method lets users see the emitted SQL directly.
View source ↗ - 11mo ago
PCA step translation bugs cleared
Four related fixes to PCA steps: failures above 99 trained predictors, zero-valued terms emitted by step_pca_sparse(), errors depending on predictor selection, and large PCA results failing against databases. Narrow corrections within an already-supported step family.
View source ↗ - 1y ago
Class and probability predictions arrive, with glm and xgboost
Adds a type argument for prediction type and extends support to logistic_reg with glm, boost_tree with xgboost, and decision_tree with partykit for class and probability predictions. The first release where orbital handles classification output rather than numeric prediction alone, plus an augment() method and a prefix argument for renaming prediction columns.
View source ↗