An open API service indexing awesome lists of open source software.

https://github.com/animator/sklearn-model

Export scikit-learn model to JSON
https://github.com/animator/sklearn-model

Last synced: 5 months ago
JSON representation

Export scikit-learn model to JSON

Awesome Lists containing this project

README

          

# sklearn-model

Python implementation for exporting `scikit-learn` models as per [JSON Machine Learning Model (JMLM) specification](https://github.com/animator/json-ml-model-spec)

## Installation

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sklearn-model)](https://pypi.org/project/sklearn-model)
[![PyPI version](https://badge.fury.io/py/sklearn-model.svg)](https://pypi.org/project/sklearn-model)

```
pip3 install sklearn-model
```

## Usage

Check out the following Jupyter notebooks in the `examples` directory.

1. [Linear Regression](https://github.com/animator/sklearn-model/blob/main/examples/01-LinearRegression-model.ipynb)
2. [KMeans](https://github.com/animator/sklearn-model/blob/main/examples/02-KMeans-scoring-model.ipynb)
3. [Decision Tree Classification](https://github.com/animator/sklearn-model/blob/main/examples/03-DecisionTreeClassifier-model.ipynb)

## Issues & Contribution

Please feel free to raise an issue in case of any query or send a pull request to contribute.