Utilities for saving Scikit-Learn Linear Models in HDF5 format.
Project description
py-lingo
Utilities for helping you deploy a subset of Scikit-Learn linear models in Go. See the
lingo
repository for more details.
This package is particularly focussed on saving linear models for inference purposes.
The package has been tested and supports the following Linear Model variants:
- LinearRegression
- LogisticRegression
- Ridge
- RidgeClassifier
- Lasso
- SGDRegressor
- SGDClassifier
Quickstart
You can install py-lingo
with.
pip install py-lingo
You'll then be able to import it in your code with:
import pylingo
from sklearn.linear_model import LinearRegression
model = LinearRegression()
pylingo.dump(model, "model.h5")
loaded_model = pylingo.load("model.h5")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-lingo-0.0.1b1.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file py-lingo-0.0.1b1.tar.gz
.
File metadata
- Download URL: py-lingo-0.0.1b1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c6cd8392b4ece129277c2218e5a77cbbc704b2499fe98500f4243e279a83f2 |
|
MD5 | 6d8fa61955bb9f79dfe5dd4dec5ad1eb |
|
BLAKE2b-256 | 768fee269e51b4059aeb97dff447c28ecf9ac8cba07d5eadece832fe44e6338b |
File details
Details for the file py_lingo-0.0.1b1-py3-none-any.whl
.
File metadata
- Download URL: py_lingo-0.0.1b1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e79b70190f67597e3ee6226d5f2deab20e456b7f250dfa84ea6292785e72b996 |
|
MD5 | eeb27f2378fcd87cf11fcab44cc97009 |
|
BLAKE2b-256 | 322d5b80dfd89ccfe6ef0cfa7ea35554556c74b85eacb82e9fbc26a286adc80e |