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 "numpy>=1.19.4,<1.20" # Install numpy to avoid a requirement error.
$ 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.

Source Distribution

sktmls-2020.12.16rc44.tar.gz (462.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sktmls-2020.12.16rc44-py3-none-any.whl (637.6 kB view details)

Uploaded Python 3

File details

Details for the file sktmls-2020.12.16rc44.tar.gz.

File metadata

  • Download URL: sktmls-2020.12.16rc44.tar.gz
  • Upload date:
  • Size: 462.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for sktmls-2020.12.16rc44.tar.gz
Algorithm Hash digest
SHA256 012860d9b53e869219a7e96bbf2a81786565474c2167e61b51ab5eaa50402460
MD5 d8fb259d1c26cd5b540e224e57b9f366
BLAKE2b-256 0337a8715b8d98c6075ad94717a76347d9767710f18818e668ea7926491e5905

See more details on using hashes here.

File details

Details for the file sktmls-2020.12.16rc44-py3-none-any.whl.

File metadata

  • Download URL: sktmls-2020.12.16rc44-py3-none-any.whl
  • Upload date:
  • Size: 637.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for sktmls-2020.12.16rc44-py3-none-any.whl
Algorithm Hash digest
SHA256 3badc9b82470e22cf3be77a63e9cb5b8a4c1a2c040bc58c774ed139837b55d6e
MD5 129c97ce56c126ab2e27387e1860a1ea
BLAKE2b-256 02bc4d67982321ed856f88a6a42d80d7cfd9a1c1de43822acf91defc7b5c0c2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page