m2cgen (Model 2 Code Generator) - is a lightweight library that provides an easy way to transpile trained statistical models into a native code (Python, C, Java, Go, JavaScript, Visual Basic, C#, PowerShell, R, PHP, Dart, Haskell, Ruby, F#, Rust, Elixir). Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies. Some models force input data to be particular type during prediction phase in their native Python libraries. Currently, m2cgen works only with float64 (double) data type. You can try to cast your input data to another type manually and check results again. Also, some small differences can happen due to specific implementation of floating-point arithmetic in a target language.

Features

  • Supports Visual Basic (VBA-compatible)
  • Supports GammaRegressor
  • Works with PowerShell
  • Supports JavaScript
  • Linear / Linear SVM / Kernel SVM classification
  • Vector value; class probabilities

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow m2cgen

m2cgen Web Site

Other Useful Business Software
Earn up to 15% annual interest with Nexo. Icon
Earn up to 15% annual interest with Nexo.

More flexibility. More control.

Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of m2cgen!

Additional Project Details

Programming Language

Python

Related Categories

Python Data Formats Software, Python Software Development Software

Registered

2022-06-07