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.

Source Distribution

sktmls-2022.11.29b1.tar.gz (91.2 kB view details)

Uploaded Source

Built Distribution

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

sktmls-2022.11.29b1-py3-none-any.whl (139.3 kB view details)

Uploaded Python 3

File details

Details for the file sktmls-2022.11.29b1.tar.gz.

File metadata

  • Download URL: sktmls-2022.11.29b1.tar.gz
  • Upload date:
  • Size: 91.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for sktmls-2022.11.29b1.tar.gz
Algorithm Hash digest
SHA256 5fc62528e77bdf65c8c3f1af4e0d8b6dcdb360dd7c8b8319e7fa2faf6fe1bd8b
MD5 9828eb33dd820da8f6370dbcdde131c5
BLAKE2b-256 4992217d1a839ede04a2dcb53a4ed1071afa22d84cab082c3e62ee44cad968e0

See more details on using hashes here.

File details

Details for the file sktmls-2022.11.29b1-py3-none-any.whl.

File metadata

  • Download URL: sktmls-2022.11.29b1-py3-none-any.whl
  • Upload date:
  • Size: 139.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for sktmls-2022.11.29b1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb5e6d33e2a9a777965a8bc16e7c0ff1be72d7183d57775feabc609b773995d1
MD5 230e2c26cf176afb45be727019b558af
BLAKE2b-256 4ca105f85eca60330604de050741abab496f7080f96526570054b48eb0d6e9aa

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