|
562 | 562 | - [{]{style="color: #990000"}[subsampling](https://cran.r-project.org/web/packages/subsampling/index.html){style="color: #990000"}[}]{style="color: #990000"} - Optimal Subsampling Methods for Statistical Models |
563 | 563 | - A technique to balance the trade-off between computational efficiency and statistical efficiency when high compute resources are unavailable. |
564 | 564 | - Provides optimal subsampling methods for various statistical models such as generalized linear models (GLM), softmax (multinomial) regression, rare event logistic regression and quantile regression model. |
565 | | -- [{tidymodels}]{style="color: #990000"} database modelling packages |
| 565 | +- [{tidymodels}]{style="color: #990000"} database predicting packages |
566 | 566 | - [{]{style="color: #990000"}[orbital](https://orbital.tidymodels.org/){style="color: #990000"}[}]{style="color: #990000"} - Enables running predictions of tidymodels workflows inside databases. |
567 | | -
|
568 | 567 | - [{]{style="color: #990000"}[tidypredict](https://tidypredict.tidymodels.org/){style="color: #990000"}[}]{style="color: #990000"} - Used as the primary parser for models employed by the orbital |
569 | | -
|
570 | 568 | - Articles |
571 | | -
|
572 | 569 | - [Running tidymodel prediction workflows inside databases with orbital and Snowflake](https://posit.co/blog/running-tidymodel-prediction-workflows-inside-databases/) |
573 | 570 | - [Deploying boosted tree models with Orbital](https://posit.co/blog/deploying-boosted-tree-models-with-orbital/) |
574 | | -
|
575 | 571 | - Supported Models |
576 | | -
|
577 | 572 | - Linear Regression - `lm()` |
578 | 573 | - Generalized Linear model - `glm()` |
579 | 574 | - Regularized Regression - `glmnet::glmnet` |
|
590 | 585 | - `xgboost::xgb.Booster.complete()` |
591 | 586 | - {catboost} |
592 | 587 | - {lightgbm} |
| 588 | + - Examples |
| 589 | + - [Example]{.ribbon-highlight}: Basic [{tidypredict}]{style="color: #990000"} |
593 | 590 |
|
594 | | - - [Example]{.ribbon-highlight}: Basic [{tidypredict}]{style="color: #990000"} |
595 | | -
|
596 | | - ``` r |
597 | | - model <- partykit::ctree(mpg ~ am + cyl, data = mtcars) |
598 | | - tidypredict_fit(model) |
599 | | - #> case_when(cyl <= 4 ~ 26.6636363636364, cyl <= 6 & cyl > 4 ~ 19.7428571428571, |
600 | | - #> .default = 15.1) |
601 | | -
|
602 | | - model <- glmnet::glmnet(mtcars[, -1], mtcars$mpg, lambda = 0.01) |
603 | | - tidypredict_fit(model) |
604 | | - #> 13.0081464696679 + (cyl * -0.0773532164346008) + (disp * 0.00969507138358544) + |
605 | | - #> (hp * -0.0192462098902709) + (drat * 0.816753237688302) + |
606 | | - #> (wt * -3.41564341709663) + (qsec * 0.758580151032383) + (vs * |
607 | | - #> 0.277874296242861) + (am * 2.47356523820533) + (gear * 0.645144527527598) + |
608 | | - #> (carb * -0.300886812079305) |
609 | | - ``` |
| 591 | + ``` r |
| 592 | + model <- partykit::ctree(mpg ~ am + cyl, data = mtcars) |
| 593 | + tidypredict_fit(model) |
| 594 | + #> case_when(cyl <= 4 ~ 26.6636363636364, cyl <= 6 & cyl > 4 ~ 19.7428571428571, |
| 595 | + #> .default = 15.1) |
| 596 | +
|
| 597 | + model <- glmnet::glmnet(mtcars[, -1], mtcars$mpg, lambda = 0.01) |
| 598 | + tidypredict_fit(model) |
| 599 | + #> 13.0081464696679 + (cyl * -0.0773532164346008) + (disp * 0.00969507138358544) + |
| 600 | + #> (hp * -0.0192462098902709) + (drat * 0.816753237688302) + |
| 601 | + #> (wt * -3.41564341709663) + (qsec * 0.758580151032383) + (vs * |
| 602 | + #> 0.277874296242861) + (am * 2.47356523820533) + (gear * 0.645144527527598) + |
| 603 | + #> (carb * -0.300886812079305) |
| 604 | + ``` |
610 | 605 | - [{]{style="color: #990000"}[VectorForgeML](https://cran.r-project.org/web/packages/VectorForgeML/index.html){style="color: #990000"}[}]{style="color: #990000"} - High-Performance Machine Learning Framework with C++ Acceleration |
611 | 606 | - Decison Trees, K Means, KNN, Linear and Logistic Regression, PCA, Random Forest, Ridge Regression, and Softmax Regression |
612 | 607 | - Min-max scaling, one hot encoding, model scoring, pipeline class |
|
0 commit comments