Skip to main content

Utilities for saving Scikit-Learn Linear Models in HDF5 format.

Project description


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


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

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 hashes)

Uploaded source

Built Distribution

py_lingo-0.0.1b1-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page