Skip to content

Commit 3f8722f

Browse files
committed
mlops >> {ryl}
1 parent a2287a8 commit 3f8722f

5 files changed

Lines changed: 769 additions & 749 deletions

File tree

qmd/big-data.qmd

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -562,18 +562,13 @@
562562
- [{]{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
563563
- A technique to balance the trade-off between computational efficiency and statistical efficiency when high compute resources are unavailable.
564564
- 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
566566
- [{]{style="color: #990000"}[orbital](https://orbital.tidymodels.org/){style="color: #990000"}[}]{style="color: #990000"} - Enables running predictions of tidymodels workflows inside databases.
567-
568567
- [{]{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-
570568
- Articles
571-
572569
- [Running tidymodel prediction workflows inside databases with orbital and Snowflake](https://posit.co/blog/running-tidymodel-prediction-workflows-inside-databases/)
573570
- [Deploying boosted tree models with Orbital](https://posit.co/blog/deploying-boosted-tree-models-with-orbital/)
574-
575571
- Supported Models
576-
577572
- Linear Regression - `lm()`
578573
- Generalized Linear model - `glm()`
579574
- Regularized Regression - `glmnet::glmnet`
@@ -590,23 +585,23 @@
590585
- `xgboost::xgb.Booster.complete()`
591586
- {catboost}
592587
- {lightgbm}
588+
- Examples
589+
- [Example]{.ribbon-highlight}: Basic [{tidypredict}]{style="color: #990000"}
593590
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+
```
610605
- [{]{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
611606
- Decison Trees, K Means, KNN, Linear and Logistic Regression, PCA, Random Forest, Ridge Regression, and Softmax Regression
612607
- Min-max scaling, one hot encoding, model scoring, pipeline class

qmd/db-duckdb.qmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,6 @@
13321332
- Packages
13331333
13341334
- [{]{style="color: #990000"}[duckspatial](https://cran.r-project.org/web/packages/duckspatial/index.html){style="color: #990000"}[}]{style="color: #990000"} - R Interface to 'DuckDB' Database with Spatial Extension
1335-
- [{]{style="color: #990000"}[ducksf](https://www.ekotov.pro/ducksf/){style="color: #990000"}[}]{style="color: #990000"} - Provides some alternatives to sf functions, which are implemented using duckdb and geoarrow. So far the only implemented function is areal interpolation working similar to the one fiund in ‘areal’ package
13361335
13371336
- Spatial Predicates
13381337

qmd/ide-positron.qmd

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Extensions
44

5-
- [Reprex Generator for R](https://open-vsx.org/extension/jemus42/reprex-generator-for-r) - Brings the reprex package to your editor. Same functionality as reprex::reprex() or the RStudio addin to create reproducible examples for GitHub issues, Stack Overflow, or Slack.
5+
- [Reprex Generator for R](https://open-vsx.org/extension/jemus42/reprex-generator-for-r) - Brings the reprex package to your editor. Same functionality as reprex::reprex() or the RStudio addin to create reproducible examples for GitHub issues, Stack Overflow, or Slack.
66

77
## Shortcuts {#sec-ide-pos-short .unnumbered}
88

9-
- A lot of shortcuts don't work if you're in a quarto file. (e.g. ctrl + B makes text bold instead of unhiding primary side panel)
9+
- A lot of shortcuts don't work if you're in a quarto file. (e.g. ctrl + B makes text bold instead of unhiding primary side panel)
1010

1111
| Shortcut | Description |
1212
|----|----|
@@ -17,14 +17,14 @@
1717

1818
## Settings {#sec-ide-pos-set .unnumbered}
1919

20-
- Disable Preview Tabs: `"workbench.editor.enablePreview": false,`
20+
- Disable Preview Tabs: `"workbench.editor.enablePreview": false,`
2121

2222
## Workflows
2323

24-
- New Project
25-
- [{uv}]{style="color: goldenrod"}
26-
- Click New Folder, Click Python
27-
- Enter name of folder, Choose the directory, Select git/no git
28-
- Select new environment or existing environment, Select uv, Select python version
29-
- Add packages: `uv add numpy scikit-learn polars statsmodels`
30-
- Do work
24+
- New Project
25+
- [{uv}]{style="color: goldenrod"}
26+
- Click New Folder, Click Python
27+
- Enter name of folder, Choose the directory, Select git/no git
28+
- Select new environment or existing environment, Select uv, Select python version
29+
- Add packages: `uv add numpy scikit-learn polars statsmodels`
30+
- Do work

qmd/mlops.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [{]{style="color: #990000"}[onnx](https://cran.r-project.org/web/packages/onnx/index.html){style="color: #990000"}[}]{style="color: #990000"} - 'ONNX' provides an open source format for machine learning models through [{reticulate}]{style="color: #990000"}
1212
- [{]{style="color: #990000"}[onnxr](https://corymccartan.com/onnxr/){style="color: #990000"}[}]{style="color: #990000"} - Directly interfaces with ONNX runtime’s C++ API via cpp11. This uses far less memory and does not require a Python and TensorFlow installation.
1313
- [{]{style="color: goldenrod"}[PyMilo](https://github.com/openscilab/pymilo){style="color: goldenrod"}[}]{style="color: goldenrod"} ([JOSS](https://joss.theoj.org/papers/10.21105/joss.08858)) - Serializes models in a transparent human-readable format (e.g. JSON) that preserves end-to-end model fidelity and enables reliable, safe, and interpretable exchange
14+
- [{]{style="color: goldenrod"}[ryl](https://ryl-docs.pages.dev/){style="color: goldenrod"}[}]{style="color: goldenrod"} ([vs code ext](https://marketplace.visualstudio.com/items?itemName=owenlamont.ryl), [github](https://github.com/owenlamont/ryl)) - Rust-based YAML linter
1415
- [{]{style="color: #990000"}[S7schema](https://cran.r-project.org/web/packages/S7schema/index.html){style="color: #990000"}[}]{style="color: #990000"} - 'S7' Framework for Schema-Validated YAML Configuration. Validates YAML through a json schema file.
1516
- [{]{style="color: #990000"}[strata](https://asenetcky.github.io/strata/){style="color: #990000"}[}]{style="color: #990000"} - Simple project automation framework
1617
- Supports [{renv}]{style="color: #990000"}, [{cronR}]{style="color: #990000"}, and [{taskscheduleR}]{style="color: #990000"}

0 commit comments

Comments
 (0)