|
2 | 2 |
|
3 | 3 | { align=left width=52 }
|
4 | 4 |
|
5 |
| -Convert SKLearn pipelines into SQL queries for execution in a database |
6 |
| -without the need for a Python environment. |
| 5 | +Orbital lets you convert scikit-learn pipelines into pure SQL, |
| 6 | +allowing execution of machine learning models directly in your database, |
| 7 | +without requiring a Python environment. |
| 8 | + |
| 9 | +### Why Orbital? |
| 10 | + |
| 11 | +In regulated, secure, or resource-constrained environments, deploying Python code may be undesirable or even impossible. |
| 12 | +Orbital provides a lightweight alternative: it translates trained sklearn pipelines into SQL expressions that can be audited, |
| 13 | +versioned, and executed entirely inside the database engine. |
| 14 | + |
| 15 | +This enables: |
| 16 | +* In-database predictions: avoid moving data or running external inference services |
| 17 | +* No dependencies: models run as standard SQL, with no Python runtime required |
| 18 | +* Interpretable results: clear formulas for linear models and structured logic for trees |
| 19 | +* Security and compliance: auditable, deterministic, dependency-free |
| 20 | + |
| 21 | +### Example |
7 | 22 |
|
8 | 23 | Take a look at the [Examples](https://github.com/posit-dev/orbital/tree/main/examples)
|
9 | 24 | or follow the [Getting Started](getstarted.md) Guide
|
@@ -39,6 +54,8 @@ SELECT ("t0"."sepal_length" - 5.809166666666666) * -0.11633479416518255 + 0.9916
|
39 | 54 | AS "variable" FROM "DATA_TABLE" AS "t0"
|
40 | 55 | ```
|
41 | 56 |
|
| 57 | +This SQL produces the same predictions as `pipeline.predict(...)` from SciKit-Lear |
| 58 | + |
42 | 59 | ## Supported Models
|
43 | 60 |
|
44 | 61 | OrbitalML currently supports the following models:
|
|
0 commit comments