Skip to main content

MLS SDK

Project description

mls-model-registry (sktmls)

Contents

Description

A Python package for MLS model registry.

This python package includes

  • Customized prediction pipelines inheriting MLSModel
  • Model uploader to AWS S3 for meta management and online prediction

Installation

Installation is automatically done by training containers in YE. If you want to install manually for local machines,

# develop
pip install --index-url https://test.pypi.org/simple/ --no-deps sktmls

# production
pip install sktmls

How to use

Development

Requirements for development

  • Python 3.6
  • requirements.txt
  • requirements-dev.txt

Local model registry

To enable all model related features in local environment, you need to create a directory models in your home directory.

$ cd ~/
$ mkdir models

Python environment

First you need to do the followings

$ python -V # Check if the version is 3.6.
$ python -m venv env # Create a virtualenv.
$ . env/bin/activate # Activate the env.
$ pip install --upgrade pip
$ pip install --upgrade setuptools
$ pip install --upgrade wheel
$ pip install -r requirements.txt # Install required packages.
$ pip install -r requirements-dev.txt # Install required dev packages.

Documents generation

Before a commit, generate documents if any docstring has been changed

rm -rf docs
pdoc --html --config show_source_code=False -f -o ./docs sktmls

Version

sktmls package version is automatically genereated followd by a production release on format YY.MM.DD
We use Calendar Versioning. For version available, see the tags on this repository.

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.

Files for sktmls, version 2021.7.28.post1
Filename, size File type Python version Upload date Hashes
Filename, size sktmls-2021.7.28.post1-py3-none-any.whl (171.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sktmls-2021.7.28.post1.tar.gz (104.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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