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 -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.10.14rc14.tar.gz (54.5 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.10.14rc14-py3-none-any.whl (97.8 kB view details)

Uploaded Python 3

File details

Details for the file sktmls-2020.10.14rc14.tar.gz.

File metadata

  • Download URL: sktmls-2020.10.14rc14.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for sktmls-2020.10.14rc14.tar.gz
Algorithm Hash digest
SHA256 c16a0ac54ffde18d704872712b1e445de7ef92690256b5ee84d97e06fb92c86c
MD5 3790d0e624f5bba28c58925147b37702
BLAKE2b-256 60258fc7af933f337b1c0ac8a2eeb8f008c091f446415d89f4c095786139f58d

See more details on using hashes here.

File details

Details for the file sktmls-2020.10.14rc14-py3-none-any.whl.

File metadata

  • Download URL: sktmls-2020.10.14rc14-py3-none-any.whl
  • Upload date:
  • Size: 97.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for sktmls-2020.10.14rc14-py3-none-any.whl
Algorithm Hash digest
SHA256 7bade39ac56cb5d51b5e7fd77e88aef9f8e84fa778032845260e296e78dbf6c3
MD5 5fdec4845ab1a2aa0bd80daf1674bc66
BLAKE2b-256 6b2514ffc888328e34dcc09d6a6752dd32d3d20dc7db9e3e412ac6f5cacab93f

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