Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-lingo, version 0.0.1b1
Filename, size File type Python version Upload date Hashes
Filename, size py_lingo-0.0.1b1-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size py-lingo-0.0.1b1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page