# m2cgen **Repository Path**: dufolk/m2cgen ## Basic Information - **Project Name**: m2cgen - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-28 - **Last Updated**: 2021-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # m2cgen [![GitHub Actions Status](https://github.com/BayesWitnesses/m2cgen/workflows/GitHub%20Actions/badge.svg?branch=master)](https://github.com/BayesWitnesses/m2cgen/actions) [![Coverage Status](https://codecov.io/gh/BayesWitnesses/m2cgen/branch/master/graph/badge.svg)](https://codecov.io/gh/BayesWitnesses/m2cgen) [![License: MIT](https://img.shields.io/github/license/BayesWitnesses/m2cgen.svg)](https://github.com/BayesWitnesses/m2cgen/blob/master/LICENSE) [![Python Versions](https://img.shields.io/pypi/pyversions/m2cgen.svg?logo=python&logoColor=white)](https://pypi.org/project/m2cgen) [![PyPI Version](https://img.shields.io/pypi/v/m2cgen.svg?logo=pypi&logoColor=white)](https://pypi.org/project/m2cgen) [![Downloads](https://pepy.tech/badge/m2cgen)](https://pepy.tech/project/m2cgen) **m2cgen** (Model 2 Code Generator) - is a lightweight library which 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). * [Installation](#installation) * [Supported Languages](#supported-languages) * [Supported Models](#supported-models) * [Classification Output](#classification-output) * [Usage](#usage) * [CLI](#cli) * [FAQ](#faq) ## Installation Supported Python version is >= **3.6**. ``` pip install m2cgen ``` ## Supported Languages - C - C# - Dart - F# - Go - Haskell - Java - JavaScript - PHP - PowerShell - Python - R - Ruby - Rust - Visual Basic (VBA-compatible) ## Supported Models | | Classification | Regression | | --- | --- | --- | | **Linear** | | | | **SVM** | | | | **Tree** | | | | **Random Forest** | | | | **Boosting** |