{"adoption": {"forks": 168, "observed_at": "2026-08-28T04:04:18.173324+00:00", "stars": 1302}, "canonical_url": "https://ross.abutalabs.com/products/sklearn-porter", "card": {"archived": false, "artifact_type": "library", "description": "Transpile trained scikit-learn estimators to C, Java, JavaScript and others.", "domain": ["machine-learning", "data-science", "embedded-systems", "compilers"], "enriched": true, "function": ["machine-learning", "compiler", "developer-tools"], "health_score": 20, "homepage": null, "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["nok/sklearn-porter"], "name": "nok/sklearn-porter", "platform": ["python", "cross-platform"], "pushed_at": "2024-06-12T09:16:57+00:00", "repo": "nok/sklearn-porter", "stars": 1302, "tags": ["scikit-learn", "transpilation", "code-generation", "model-deployment", "estimators"], "topics": ["machine-learning", "data-science", "scikit-learn", "sklearn"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sklearn-porter", "repo": "nok/sklearn-porter", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.173324+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:52:10.996467+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0688f3b83529181d22e9c1aff630e11672eb8c081f476e3c4280bcbbab8503c4", "fetched_at": "2026-08-28T04:04:18.173324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nok/sklearn-porter"}, {"content_hash": "5f1cebecb86ba8f050c020919b04615fc37ee2533f345c634cf9aec2c7a6022b", "fetched_at": "2026-08-29T12:09:32.254173+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sklearn-porter/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3724, "days_push": 812, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}