nok/sklearn-porter
Transpile trained scikit-learn estimators to C, Java, JavaScript and others. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3724
- days_rel: n/a
- days_push: 812
- n_releases_24m: 0
Adoption not part of the score
1302 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library that transpiles trained scikit-learn estimators into source code for C, Go, Java, JavaScript, PHP, and Ruby. It targets embedded systems and performance-critical applications where running the model natively without a Python runtime matters.
Use cases
- deploy a scikit-learn model on an embedded microcontroller
- run a trained classifier in C or Java without a Python runtime
- port a sklearn model to JavaScript for the browser
- generate native code from a trained SVM or decision tree
- serve predictions from a low-latency critical application
When to choose
- you need to run scikit-learn models on embedded or resource-constrained systems
- you want dependency-free native code for inference
- your target language is C, Go, Java, JS, PHP, or Ruby
When to avoid
- you need deep learning or transformer model export
- you want ONNX or a standard interchange format instead of source code
- you need support for the latest scikit-learn estimators or active updates
Facets
library · maturity maintenance
machine-learning compiler developer-tools machine-learning data-science embedded-systems compilers python cross-platform scikit-learn transpilation code-generation model-deployment estimators
2 sources
- readme: https://github.com/nok/sklearn-porter · fetched 2026-08-28 · 0688f3b83529
- registry_pypi: https://pypi.org/pypi/sklearn-porter/json · fetched 2026-08-29 · 5f1cebecb86b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nok/sklearn-porter | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="nok/sklearn-porter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem