BayesWitnesses/m2cgen
Model-to-code generator that transpiles trained ML models into native code in Java, C, Python, Go, JavaScript, and other languages.

Velocity · 7d
+1.1
★ / day
Trend
→steady
star history
m2cgen (Model 2 Code Generator) converts trained statistical and machine-learning models into standalone native code implementations with zero external dependencies. It supports exporting models from scikit-learn, LightGBM, XGBoost, and other ML libraries into 15+ target languages including C, Java, Go, Rust, and JavaScript. This enables deploying ML models in environments where Python or ML runtimes are unavailable.