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
- Host: GitHub
- URL: https://github.com/animator/sklearn-model
- Owner: animator
- License: mit
- Created: 2021-02-28T23:30:29.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-19T06:11:49.000Z (over 4 years ago)
- Last Synced: 2025-07-11T15:01:37.267Z (6 months ago)
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
[](https://pypi.org/project/sklearn-model)
[](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.